Documentation ¶
Index ¶
- type Work
- func (wk *Work) GetAccessToken() (string, error)
- func (wk *Work) GetAppMsg() *appmessage.AppMsg
- func (wk *Work) GetContext() *context.Context
- func (wk *Work) GetDepartMent() *department.DepartMent
- func (wk *Work) GetMenu() *menu.Menu
- func (wk *Work) GetMsgAudit() (*msgaudit.Client, error)
- func (wk *Work) GetOauth() *oauth.Oauth
- func (wk *Work) GetServer(req *http.Request, writer http.ResponseWriter) *server.Server
- func (wk *Work) GetUser() *user.User
- func (wk *Work) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
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 企业微信
func (*Work) GetAccessToken ¶ added in v1.0.3
GetAccessToken 获取access_token
func (*Work) GetAppMsg ¶ added in v1.0.3
func (wk *Work) GetAppMsg() *appmessage.AppMsg
func (*Work) GetDepartMent ¶ added in v1.0.8
func (wk *Work) GetDepartMent() *department.DepartMent
func (*Work) GetMsgAudit ¶
GetMsgAudit get msgAudit
func (*Work) SetAccessTokenHandle ¶ added in v1.0.3
func (wk *Work) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
SetAccessTokenHandle 自定义access_token获取方式
Directories ¶
Path | Synopsis |
---|---|
Package config 企业微信config配置
|
Package config 企业微信config配置 |
member
|
|
user
Package user migrate 用于微信公众号账号迁移,获取openID变化 参考文档:https://kf.qq.com/faq/1901177NrqMr190117nqYJze.html
|
Package user migrate 用于微信公众号账号迁移,获取openID变化 参考文档:https://kf.qq.com/faq/1901177NrqMr190117nqYJze.html |
Package msgaudit for unsupport platform
|
Package msgaudit for unsupport platform |
Click to show internal directories.
Click to hide internal directories.