package
1.0.79
Repository: https://github.com/internetarchive/zeno.git
Documentation: pkg.go.dev

# Functions

DedupeStrings take a slice of string and dedupe it.
DedupeURLs take a slice of *url.URL and dedupe it.
FileExists checks if a file exists and is not a directory before we try using it to prevent further errors.
No description provided by the author
No description provided by the author
Note: GetOutboundIP does not establish any connection and the destination does not need to exist for this function to work.
GetSHA1 take a string and return the SHA1 hash of the string, as a string.
GetSHA1FromFile calculate the SHA1 of a file.
No description provided by the author
MakeAbsolute turn all URLs in a slice of url.URL into absolute URLs, based on a given base *url.URL.
No description provided by the author
No description provided by the author
StringContainsSliceElements if the string contains one of the elements of a slice.
StringInSlice return true if the string is in the slice.
StringSliceToURLSlice takes a slice of string and return a slice of url.URL.
No description provided by the author
ValidateURL validates a *url.URL.

# Structs

No description provided by the author
TAtomBool define an atomic boolean.
No description provided by the author