Documentation ¶
Overview ¶
钉钉开发 SDK
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ServerUrl = "https://oapi.dingtalk.com" UserAgent = "fastwego/dingding" )
日志记录器
Functions ¶
This section is empty.
Types ¶
type AccessTokenManager ¶
type Client ¶
type Client struct { AccessTokenManager AccessTokenManager HttpClient *http.Client }
Client 用于向接口发送请求
type Crypto ¶
type DefaultAccessTokenManager ¶
type DefaultAccessTokenManager struct { Id string Name string GetRefreshRequestFunc getRefreshRequestFunc Cache cachego.Cache }
func (*DefaultAccessTokenManager) GetAccessToken ¶
func (m *DefaultAccessTokenManager) GetAccessToken() (accessToken string, err error)
GetAccessToken
func (*DefaultAccessTokenManager) GetName ¶
func (m *DefaultAccessTokenManager) GetName() (name string)
GetName 获取 access_token 参数名称
Click to show internal directories.
Click to hide internal directories.