Documentation ¶
Index ¶
- type Work
- func (work *Work) GetAccessToken() (string, error)
- func (work *Work) GetContext() *context.Context
- func (work *Work) GetJs() *js.Js
- func (work *Work) GetOauth() *oauth.Oauth
- func (work *Work) GetUser() *contacts.User
- func (work *Work) SetAccessTokenHandle(accessTokenHandle credential.WorkAccessTokenHandle)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Work ¶
type Work struct {
// contains filtered or unexported fields
}
Work 微信公众号相关API
func (*Work) GetAccessToken ¶
GetAccessToken 获取access_token
func (*Work) SetAccessTokenHandle ¶
func (work *Work) SetAccessTokenHandle(accessTokenHandle credential.WorkAccessTokenHandle)
SetAccessTokenHandle 自定义access_token获取方式
Click to show internal directories.
Click to hide internal directories.