package
0.0.0-20201113190010-1568502a8b16
Repository: https://github.com/avatag-host/claws.git
Documentation: pkg.go.dev
# Functions
Authenticates the request token against the given permission string, ensuring that if it is a server permission, the token has control over that server.
Configures the routing infrastructure for this daemon instance.
Helper function to fetch a server out of the servers collection stored in memory.
Ensure that the requested server exists in this setup.
Set the access request control headers on all of the requests.
Generates a new tracked error, which simply tracks the specific error that is being passed in, and also assigned a UUID to the error so that it can be cross referenced in the logs.
Same as TrackedError, except this will also attach the server instance that generated this server for the purposes of logging.
# Structs
No description provided by the author