app3

package
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Zlib Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearQuota

func ClearQuota(api *token.Api) error

ClearQuota 所有api调用(包括第三方帮其调用)次数进行清零,每月10次 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Official_Accounts/Official_account_interface.html

func GetComponentAccessToken

func GetComponentAccessToken(tk token.Token, d data.D) (access.Token, error)

func GetIdService added in v1.0.29

func GetIdService() token.Service

func GetService added in v1.0.29

func GetService() token.Service

func GetWebService added in v1.0.29

func GetWebService() token.Service

func NewIdToken added in v1.0.29

func NewIdToken(app token.App) token.Token

func NewToken

func NewToken(app token.App) token.Token

func NewWebToken added in v1.0.29

func NewWebToken(app token.App) token.Token

Types

type AccessToken

type AccessToken struct {
	Token     string `json:"component_access_token"`
	ExpiresIn int64  `json:"expires_in"`
}

func (AccessToken) GetAccessToken

func (a AccessToken) GetAccessToken() access.Value

access.Token interface implement

func (AccessToken) GetRefAccessToken

func (a AccessToken) GetRefAccessToken() access.Value

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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