fuzzer

package
v0.22.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DigitsCharset = "1234567890"
View Source
const LowerCaseCharset = "qwertyuiopasdfghjklzxcvbnm"
View Source
const SpecialCharset = "!@#$%^&*()-_=+[]{}|;:,.<>/?"
View Source
const UpperCaseCharset = "QWERTYUIOPASDFGHJKLZXCVBNM"

Variables

This section is empty.

Functions

func FuzzStringType

func FuzzStringType(varName string) (string, error)

FuzzStringType generates a fuzzed string based on the variable name.

func GeneratePhoneNumber

func GeneratePhoneNumber() (string, error)

GeneratePhoneNumber generates a random 10-digit phone number starting with 72.

func GenerateRandomBoolean

func GenerateRandomBoolean() bool

func GenerateRandomCharDigits

func GenerateRandomCharDigits(length int) (string, error)

GenerateRandomCharDigits generates a random string of given length containing characters and digits only.

func GenerateRandomChars

func GenerateRandomChars(length int) (string, error)

GenerateRandomChars generates a random string of given length containing characters only.

func GenerateRandomIntInRange

func GenerateRandomIntInRange(min, max int) (int, error)

GenerateRandomIntInRange generates a random integer value between min and max (inclusive).

func GenerateRandomString

func GenerateRandomString(length int) (string, error)

GenerateRandomString generates a random string of given length.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳