Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomRequests ¶
GenerateRandomRequests produces a slice of *model.Request for use in tests and benchmarks. Each request gets a unique combination of project, domain, language, and tags.
func GenerateRandomResponses ¶
GenerateRandomResponses generates a list of *model.Response, each linked to a random request and containing random body data. Used for stress/load/benchmark testing of cache systems.
func GenerateRandomString ¶
func GenerateRandomString() string
GenerateRandomString returns a random ASCII string of length between minStrLen and maxStrLen.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.