Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { AccessToken string `json:"access_token"` ExpiresIn int64 `json:"expires_in"` Error int64 `json:"error"` ErrCode int64 `json:"errcode"` ErrMsg string `json:"errmsg"` Message string `json:"message"` }
AccessToken model
type Client ¶
Client Client
func (*Client) GetAccessToken ¶
func (c *Client) GetAccessToken() (accessData *AccessToken, err error)
GetAccessToken 获得头条的接口登录凭证
Click to show internal directories.
Click to hide internal directories.