Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWrongContext = errors.Unauthorized(reason, "Wrong context for middleware")
)
Functions ¶
func Client ¶
func Client(user, password string) middleware.Middleware
Client is an client basic auth middleware.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.