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