wxoa

package
v0.0.1-202203111300 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MPL-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CACHE_KEY_WS_JSSDK_ACCESSTOKEN = "wxjssdk:access_token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Wxoa

type Wxoa interface {
	GetSignature(appId, appSecret, url string) (*typwx.WxoaSignature, error)
}

func New

func New() Wxoa

type WxoaAccessToken

type WxoaAccessToken struct {
	Value     string `json:"access_token"`
	ExpiresIn int    `json:"expires_in"`
}

WxoaAccessToken 类型

type WxoaTicket

type WxoaTicket struct {
	Value     string `json:"ticket,omitempty"`
	ExpiresIn int    `json:"expires_in,omitempty"`
}

WxoaTicket 类型

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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