Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuth ¶
type BasicAuth struct { Users []string `cfg:"users"` Realm string `cfg:"realm"` // HeaderField is the name of the header field to set with the username HeaderField string `cfg:"header_field"` // RemoveHeader removes the Authorization header from the request RemoveHeader bool `cfg:"remove_header"` }
func (*BasicAuth) Middleware ¶
Click to show internal directories.
Click to hide internal directories.