package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev

# Functions

MakeAuth constructs the auth middleware function.
MakeConnectionLimiter makes an echo middleware that limits the number of simultaneous connections.
MakeCORS sets up CORS with a token header.
MakeLogger initializes the logger middleware function.
MakePNA constructs the Private Network Access 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.