package
2.10.1-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev
# Functions
MakeAuth constructs the auth middleware function.
MakeCORS sets up CORS with a token header.
MakeLogger initializes the logger middleware function.
# Constants
InvalidTokenMessage is the message set when an invalid / missing token is found.
TokenPathParam is the name of the path parameter used by URLAuthPrefix.
URLAuthPrefix is the echo formatted url/path param which can be used for supplying an API token.
# Structs
AuthMiddleware provides some data to the handler.
LoggerMiddleware provides some extra state to the logger middleware.