Documentation
¶
Overview ¶
Package auth contains middlewares for managing authentication during HTTP request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Basic ¶
func Basic(username, password string) c.Middleware
Basic sets basic authentication to request with provided username and password.
func Bearer ¶
func Bearer(token string) c.Middleware
Bearer sets bearer authentication to request with provided token.
func Custom ¶
func Custom(authorization string) c.Middleware
Custom sets a custom authorization header.
Types ¶
This section is empty.