1
0
forked from x/icebergs
icebergs/base/ctx/ctx.go
2021-10-21 08:55:20 +08:00

17 lines
440 B
Go

package ctx
import (
ice "shylinux.com/x/icebergs"
)
const CTX = "ctx"
var Index = &ice.Context{Name: CTX, Help: "标准模块", Commands: map[string]*ice.Command{
ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
}},
ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
}},
}}
func init() { ice.Index.Register(Index, nil, CONTEXT, COMMAND, CONFIG, MESSAGE) }