wxmp

package
v0.0.1-202202081456 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAppIDNotMatch       = errors.New("app id not match")
	ErrInvalidBlockSize    = errors.New("invalid block size")
	ErrInvalidPKCS7Data    = errors.New("invalid PKCS7 data")
	ErrInvalidPKCS7Padding = errors.New("invalid padding on input")
)

Functions

This section is empty.

Types

type Wxmp

type Wxmp interface {
	// 校验凭证
	Auth(appId, appSecret, code string) (*typwx.WxmpSession, error)
	Decrypt(appId, sessionKey, encryptedData, iv string) (*typwx.WxmpUserInfo, error)
}

func New

func New() Wxmp

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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