officialaccount

package
v2.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultAuthrAccessToken

func NewDefaultAuthrAccessToken(opCtx *opContext.Context, appID string) credential.AccessTokenHandle

NewDefaultAuthrAccessToken New

Types

type DefaultAuthrAccessToken

type DefaultAuthrAccessToken struct {
	// contains filtered or unexported fields
}

DefaultAuthrAccessToken 默认获取授权ak的方法

func (*DefaultAuthrAccessToken) GetAccessToken

func (ak *DefaultAuthrAccessToken) GetAccessToken() (string, error)

GetAccessToken 获取ak

type OfficialAccount

type OfficialAccount struct {
	*officialaccount.OfficialAccount
	// contains filtered or unexported fields
}

OfficialAccount 代公众号实现业务

func NewOfficialAccount

func NewOfficialAccount(opCtx *opContext.Context, appID string) *OfficialAccount

NewOfficialAccount 实例化 appID :为授权方公众号 APPID,非开放平台第三方平台 APPID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL