wx

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	WEIXIN  = "weixin"
	EXPIRE  = "expire"
	TICKET  = "ticket"
	EXPIRES = "expires"
	SCRIPT  = "script"
	CONFIG  = "config"
)
View Source
const (
	ERRCODE = "errcode"
	ERRMSG  = "errmsg"
)
View Source
const (
	APPID = "appid"
	APPMM = "appmm"
	TOKEN = "token"
)
View Source
const ACCESS = "access"
View Source
const EVENT = "event"
View Source
const FAVOR = "favor"
View Source
const LOGIN = "login"
View Source
const MENU = "menu"
View Source
const TEXT = "text"
View Source
const WX = "wx"

Variables

View Source
var Index = &ice.Context{Name: WX, Help: "公众号",
	Commands: map[string]*ice.Command{
		ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
			m.Load()
		}},
		ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
			m.Save()
		}},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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