package
0.0.2
Repository: https://github.com/vincentbdb/go-algorand.git
Documentation: pkg.go.dev

# Functions

Auth takes a logger and an api token and return a middleware function that satisfies the gorilla middleware interface.
CORS adds the CORS headers to every response.
Logger is a gorilla/mux middleware to add log to the API.
ResponseWriterWrapper is supposed to capture statusCode from ResponseWriter.

# Constants

TokenHeader defines the http header that includes the auth token.

# Structs

LoggingResponseWriter will encapsulate a standard ResponseWriter with a copy of its statusCode.