Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingHeader = errors.New("the length of the `Authorization` header is zero")
ErrMissingHeader 表示 `Authorization` 请求头为空.
Functions ¶
func ParseRequest ¶
ParseRequest 从请求头中获取令牌,并将其传递给 Parse 函数以解析令牌.
Types ¶
Click to show internal directories.
Click to hide internal directories.