# Functions
IsHTTPS returns true if the request is using https protocol or false otherwise.
IsProxiedHTTPS returns true if the original request is using https protocol or false otherwise.
IsUsingSecureConnection returns true if the request is using secure connection or false otherwise.
NewNameGenerator creates a new generator of random string sequences from the requested dictionary.
NewRequireHTTPS creates a new middleware with the given checks configured.
NewTrace creates and initialize a trace middleware.
# Structs
AccessLog produces the access log.
AuthMiddleware provides a generic authentication middleware On failure, a 401 HTTP response is returned.
CheckRequest defines the request validation configuration used by RequireHTTPS middleware.
ContextMiddleware initializes a context and puts it in the request's env map.
GzipMiddleware is responsible for compressing the payload with gzip and setting the proper headers when supported by the client.
MetricsMiddleware is an HTTP middleware that collects API usage metrics.
RequireHTTPS provide HTTP middleware to ensure requests are received over secure communication.
Trace provides mechanism to add headers to each response returned by the server the implementation leaves to the user to specify the header name/label and format the value as any string may it be a comma separated multi-value string.
# Interfaces
NameGenerator generates unique sequence of strings from the provided dictionary.