Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChiRouter ¶
func NewChiRouter(apiEnableSecurity bool, apiEnableCORS bool, apiEnableGatewayMode bool, logLevel zap.AtomicLevel) *chi.Mux
NewChiRouter initialize a chi.Mux router with all required default middleware (logger, security, recovery, etc.)
func NotImplemented ¶
func NotImplemented(w http.ResponseWriter, r *http.Request)
NotImplemented returns a basic message "Not Implemented" when called, and should be use a filler for future handler
func UnverifiedAuthenticator ¶
UnverifiedAuthenticator doc WARNING: Don't use this method unless you know what you're doing This method parses the token but doesn't validate the signature. It's only ever useful in cases where you know the signature is valid (because it has been checked previously in the stack) and you want to extract values from it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.