Documentation ¶
Index ¶
- func Call(accessToken, apiName, apiVersion string, params map[string]string) (resp api.CallResponse, err error)
- func GenSelfToken(clientID, clientSecret, kdtID string) (resp auth.GenSelfTokenResponse, err error)
- func GenToolToken(clientID, clientSecret, code, redirectURL string) (resp auth.GenToolTokenResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call(accessToken, apiName, apiVersion string, params map[string]string) (resp api.CallResponse, err error)
Call 发起接口调用
func GenSelfToken ¶
func GenSelfToken(clientID, clientSecret, kdtID string) (resp auth.GenSelfTokenResponse, err error)
GenSelfToken 生成自用型Token
func GenToolToken ¶
func GenToolToken(clientID, clientSecret, code, redirectURL string) (resp auth.GenToolTokenResponse, err error)
GenToolToken 生成工具型Token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.