Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Authorised func(string, string) bool
Authorised should be given a function to enable HTTP Basic Authentication
Functions ¶
func AuthFile ¶
func AuthFile(file string)
AuthFile sets Authorised to a function which validates against file
func BasicAuthHandler ¶
BasicAuthHandler is middleware to check HTTP Basic Authentication if an authorisation function is defined.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.