Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { }
func (*Auth) Check ¶
func (a *Auth) Check(next http.HandlerFunc) http.HandlerFunc
Check is HTTP middleware to ensure the request has proper token credentials
func (*Auth) CheckWithRedirect ¶
func (a *Auth) CheckWithRedirect(next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.