Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheAuthorizedData ¶
type CacheAuthorizedData struct { Key string `json:"key"` // 调用方 key Secret string `json:"secret"` // 调用方 secret IsUsed string `json:"is_used"` // 调用方启用状态 1=启用 -1=禁用 Apis []cacheApiData `json:"apis"` // 调用方授权的 Apis }
CacheAuthorizedData 缓存结构
type Service ¶
type Service interface { Detail(ctx core.Context, id int32) (info *authorized.Authorized, err error) DetailByKey(ctx core.Context, key string) (data *CacheAuthorizedData, err error) // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.