Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registration ¶
Registration 表示 JWT 组件的注册信息
type Registry ¶
type Registry interface {
ListRegistrations() []*Registration
}
Registry 是 JWT 组件的注册接口
type Service ¶
type Service interface { Getter Setter CODEC GetDTO(c context.Context) (*Token, error) SetDTO(c context.Context, o *Token) error }
Service 提供全部功能的 JWT 服务
Click to show internal directories.
Click to hide internal directories.