Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUser ¶ added in v1.0.0
func GetUser(w http.ResponseWriter, r *http.Request)
GetUser fetches a user if authenticated and exists
func IsAuthenticated ¶ added in v1.0.0
func IsAuthenticated(h http.HandlerFunc) http.HandlerFunc
IsAuthenticated is a simple authentication middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.