mp

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	Key() string
	Id() string
	Token() string
	JsCode2Session(jsCode string) map[string]interface{}
	GetWxACodeUnLimit(page, scene string) []byte
	PostWxaBusinessGetUserPhoneNumber(code string) (res map[string]interface{})
}

func NewApp

func NewApp(config Config) App

type Config

type Config struct {
	Key     string `json:"key"`
	AppId   string `json:"appid"`
	Secret  string `json:"secret"`
	Version string `json:"version"`
}

Jump to

Keyboard shortcuts

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