Documentation
¶
Index ¶
- type MiniProgram
- func (w *MiniProgram) AccessToken() (contracts.AccessToken, error)
- func (w *MiniProgram) AccessTokenCacheKey() string
- func (w *MiniProgram) AesKey() string
- func (w *MiniProgram) AppId() string
- func (w *MiniProgram) AppSecret() string
- func (w *MiniProgram) Auth() *auth.Auth
- func (w *MiniProgram) Cache() (cache.Cache, string)
- func (w *MiniProgram) ComponentAccessToken() string
- func (w *MiniProgram) ComponentAppId() string
- func (w *MiniProgram) IsOpenPlatform() bool
- func (w *MiniProgram) PlatformType() string
- func (w *MiniProgram) Token() string
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiniProgram ¶
type MiniProgram struct {
// contains filtered or unexported fields
}
MiniProgram 企业微信小程序
func New ¶
func New(corpId, secret, token, aesKey string, opts ...Option) *MiniProgram
func (*MiniProgram) AccessToken ¶
func (w *MiniProgram) AccessToken() (contracts.AccessToken, error)
func (*MiniProgram) AccessTokenCacheKey ¶
func (w *MiniProgram) AccessTokenCacheKey() string
func (*MiniProgram) AesKey ¶
func (w *MiniProgram) AesKey() string
func (*MiniProgram) AppId ¶
func (w *MiniProgram) AppId() string
func (*MiniProgram) AppSecret ¶
func (w *MiniProgram) AppSecret() string
func (*MiniProgram) ComponentAccessToken ¶
func (w *MiniProgram) ComponentAccessToken() string
func (*MiniProgram) ComponentAppId ¶
func (w *MiniProgram) ComponentAppId() string
func (*MiniProgram) IsOpenPlatform ¶
func (w *MiniProgram) IsOpenPlatform() bool
func (*MiniProgram) PlatformType ¶
func (w *MiniProgram) PlatformType() string
func (*MiniProgram) Token ¶
func (w *MiniProgram) Token() string
Click to show internal directories.
Click to hide internal directories.