# Functions
Aliases is a middleware which registers version constraint aliases for the children Parties(routers).
Deprecated wraps an existing API handler and marks it as a deprecated one.
FromQuery is a simple helper which tries to set the version constraint from a given URL Query Parameter.
GetVersion returns the current request version.
GetVersionAlias returns the version alias of the given "gotVersion" or empty.
Handler returns a handler which is only fired when the "version" is matched with the requested one.
If reports whether the "got" matches the "expected" one.
Match reports whether the request matches the expected version.
NewGroup returns a version Group based on the given "version" constraint.
SetVersion force-sets the API Version.
SetVersionAliases sets a map of version aliases when a requested version of a resource was not implemented by the server.
WriteDeprecated writes the deprecated response headers based on the given "options".
# Constants
AcceptHeaderKey is the header key of "Accept".
AcceptHeaderVersionValue is the Accept's header value search term the requested version.
AcceptVersionHeaderKey is the header key of "Accept-Version".
The response header keys when a resource is deprecated by the server.
The response header keys when a resource is deprecated by the server.
APIVersionResponseHeader the response header which its value contains the normalized semver matched version.
The response header keys when a resource is deprecated by the server.
Empty is just an empty string.
NotFound is the key that can be used inside a `Map` or inside `ctx.SetVersion(versioning.NotFound)` to tell that a version wasn't found, therefore the `NotFoundHandler` should handle the request instead.
# Variables
DefaultDeprecationOptions are the default deprecation options, it defaults the "X-API-Warn" header to a generic message.
ErrNotFound reports whether a requested version does not match with any of the server's implemented ones.
NotFoundHandler is the default version not found handler that is executed from `NewMatcher` when no version is registered as available to dispatch a resource.
# Structs
DeprecationOptions describes the deprecation headers key-values.
Group represents a group of resources that should be handled based on a version requested by the client.