# Functions
Do executes each function in the slice in order.
Returns an MD5 hash of data, formatted for use as an HTTP ETag header.
GetBase64StringFromData returns the given byte slice as a base64 encoded string.
GetDataFromBase64String returns the given base64 encoded string as a byte slice.
GetVTTTime returns a timestamp appropriate for VTT files (hh:mm:ss.mmm).
IsTrue returns true if the bool pointer is not nil and true.
MergeMaps merges src into dest.
NewMutexManager returns a new instance of MutexManager.
NotNilFields returns the matching tag values of fields from an object that are not nil.
ProcessBase64Image transforms a base64 encoded string from a form post and returns the image itself as a byte slice.
ProcessImageInput transforms an image string either from a base64 encoded string, or from a URL, and returns the image as a byte slice.
ReadImageFromURL returns image data from a URL.
Serves static content, adding Cache-Control: no-cache and a generated ETag header.
Serves static content at filepath, adding Cache-Control: no-cache.
ServeStaticFileModTime serves a static file at the given path using the given modTime instead of the file modTime.
StrFormat formats the provided format string, replacing placeholders in the form of "{fieldName}" with the values in the provided StrFormatMap.
StringerSliceToStringSlice converts a slice of fmt.Stringers to a slice of strings.
Timeout executes the provided todo function, and waits for it to return.
URLFromHandle adds the site URL to the input if the input is not already a URL siteURL must not end with a slash.
# Constants
valid UA from https://user-agents.net.
# Structs
MutexManager manages access to mutexes using a mutex type and key.
# Type aliases
NestedMap is a map that supports nested keys.
URLMap is a map of URL prefixes to filesystem locations.