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 ¶ added in v0.2.0
func AuthFile(file string)
AuthFile sets Authorised to a function which validates against file
func BasicAuthHandler ¶ added in v0.2.0
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.