1
0
forked from x/icebergs
icebergs/core/code/sess.go
2022-02-19 19:50:42 +08:00

16 lines
359 B
Go

package code
import (
ice "shylinux.com/x/icebergs"
"shylinux.com/x/icebergs/base/ctx"
"shylinux.com/x/icebergs/base/mdb"
)
func init() {
Index.Merge(&ice.Context{Commands: map[string]*ice.Command{
"sess": {Name: "sess hash auto save load", Help: "会话", Action: mdb.HashAction(
mdb.FIELD, "time,hash,tabs,tool", ctx.ACTION, "load",
)},
}})
}