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 sleeps for the duration specified by the environment variable. The value must be a Go duration string (e.g. "500ms", "2s"). Invalid values are ignored.
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.