Procs
proc userAgent(f: Faker): string {...}{.raises: [], tags: [].}
-
Generates random userAgent.
Example:
let f = newFaker() echo f.userAgent()
proc chrome(f: Faker): string {...}{.raises: [ValueError, Exception], tags: [RootEffect].}
-
Generates random chrome.
Example:
let f = newFaker() echo f.chrome()
proc firefox(f: Faker): string {...}{.raises: [ValueError, Exception], tags: [RootEffect].}
-
Generates random firefox.
Example:
let f = newFaker() echo f.firefox()
proc opera(f: Faker): string {...}{.raises: [ValueError, Exception], tags: [RootEffect].}
-
Generates random opera.
Example:
let f = newFaker() echo f.opera()
proc safari(f: Faker): string {...}{.raises: [ValueError, Exception], tags: [RootEffect].}
-
Generates random safari.
Example:
let f = newFaker() echo f.safari()
proc internetExplorer(f: Faker): string {...}{.raises: [ValueError, Exception], tags: [RootEffect].}
-
Generates random internetExplorer.
Example:
let f = newFaker() echo f.internetExplorer()
proc linuxPlatformToken(f: Faker): string {...}{.raises: [ValueError], tags: [].}
-
Generates random linuxPlatformToken.
Example:
let f = newFaker() echo f.linuxPlatformToken()
proc macPlatformToken(f: Faker): string {...}{.raises: [], tags: [].}
-
Generates random macPlatformToken.
Example:
let f = newFaker() echo f.macPlatformToken()
proc androidPlatformToken(f: Faker): string {...}{.raises: [], tags: [].}
-
Generates random androidPlatformToken.
Example:
let f = newFaker() echo f.androidPlatformToken()
proc iosPlatformToken(f: Faker): string {...}{.raises: [ValueError], tags: [].}
-
Generates random iosPlatformToken.
Example:
let f = newFaker() echo f.iosPlatformToken()
proc windowsPlatformToken(f: Faker): string {...}{.raises: [], tags: [].}
-
Generates random windowsPlatformToken.
Example:
let f = newFaker() echo f.windowsPlatformToken()
proc linuxProcessor(f: Faker): string {...}{.raises: [], tags: [].}
-
Generates random linuxProcessor.
Example:
let f = newFaker() echo f.linuxProcessor()
proc macProcessor(f: Faker): string {...}{.raises: [], tags: [].}
-
Generates random macProcessor.
Example:
let f = newFaker() echo f.macProcessor()