Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxUserNameLength = 32
)
Variables ¶
This section is empty.
Functions ¶
func DelayIfEnvSet ¶ added in v0.15.8
func DelayIfEnvSet(envVarName string)
DelayIfEnvSet applies a delay in milliseconds if the specified environment variable is set. The environment variable should contain an integer value representing milliseconds.
func FailRandomlyIfEnvSet ¶ added in v0.15.10
FailRandomlyIfEnvSet checks if this request should fail based on a random percentage. The environment variable should contain an integer value between 0 and 100 representing the failure rate percentage. Invalid values are treated as 0 (no failures).
func GenerateAlphaNumToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.