Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { // MakeAccessToken 生成token MakeAccessToken(subject *Subject) (ret string, err error) // GetCachedAccessToken 获取缓存的token GetCachedAccessToken(subject *Subject) (ret string, err error) // DelUserAccessToken 清除用户token DelUserAccessToken(token string) (err error) }
Service 用户服务类
Click to show internal directories.
Click to hide internal directories.