Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶
func BasicAuth(h httprouter.Handle, requiredUser, requiredPassword string) httprouter.Handle
BasicAuth ...
func BasicAuthentication ¶
func BasicAuthentication() *httprouter.Router
BasicAuthentication for handles:
func Index ¶
func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Index Not protected function
func Protected ¶
func Protected(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Protected Protected function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.