Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DelToken ¶
func DelToken(ctx context.Context, token string, config publics.GeTuiConfig) (publics.PublicResult, error)
DelToken 删除token,为防止token被滥用或泄露,开发者可以调用此接口主动使token失效
Types ¶
type TokenParam ¶
type TokenResult ¶
type TokenResult struct {
publics.PublicResult
Data TokenResultData
}
TokenResult Token返回结构
func GetToken ¶
func GetToken(ctx context.Context, config publics.GeTuiConfig) (TokenResult, error)
GetToken 获取token
type TokenResultData ¶
TokenResultData Token返回的data结构
Click to show internal directories.
Click to hide internal directories.