Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoBearerToken = errors.New("no bearer token passed") ErrInvalidBearerToken = errors.New("invalid bearer token") )
Functions ¶
func JWTAuthenticator ¶
JWTAuthenticator is a middleware intended to be used as a gatekeeper for routes which need authentication. This DOES NOT handle authorization!
func StartServer ¶
func StartServer()
StartServer sets up everything needed to run the server and then runs it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.