Documentation
¶
Index ¶
- func CalculateDelayWithJitter(baseDelaySeconds int, jitterPercent int) time.Duration
- func GetEntriesFromTXTFiles(paths []string) ([]string, error)
- func IsStaticAsset(url string) bool
- func IsTrailingSlashRedirect(from, to string) bool
- func ParseResponseCodes(responseCodes string) (map[int]bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateDelayWithJitter ¶ added in v0.0.257
func GetEntriesFromTXTFiles ¶ added in v0.0.83
GetEntriesFromTXTFiles returns a list of entries from a list of text files
func IsStaticAsset ¶ added in v0.0.83
IsStaticAsset returns true if the URL is a static asset, false otherwise
func IsTrailingSlashRedirect ¶ added in v0.0.97
IsTrailingSlashRedirect checks if the redirect is just adding a trailing slash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.