wxoa

package
v1.0.37 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wxoa

type Wxoa interface {
	GetSignature(appId, appSecret, url string) (*typwx.WxoaSignature, error) // jsapi_ticket获取签名
	GetAccessToken(appId, appSecret string) (string, error)
}

func New

func New() Wxoa

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