Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶
func BasicAuth(handler http.HandlerFunc) http.HandlerFunc
BasicAuth wraps a handler requiring HTTP basic auth for it using the given username and password and the specified realm, which shouldn't contain quotes.
Most web browser display a dialog with something like:
The website says: "<realm>"
Which is really stupid so you may want to set the realm to a message rather than an actual realm.
func LowerCaseURI ¶
LowerCaseURI returns a lower cases converted URL path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.