Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustRateInterval ¶ added in v0.9.1
func GetStartTimeForRateInterval ¶ added in v0.9.1
func RandomString ¶ added in v1.0.10
RandomString generates a random string of length n. Before calling this function, you should call rand.Seed() to initialize the default source.
Found at https://ispycode.com/Blog/golang/2016-10/How-to-generate-a-random-string-of-a-fixed-length
Types ¶
type TimeProvider ¶ added in v0.9.1
var Clock TimeProvider
Click to show internal directories.
Click to hide internal directories.