1
0
forked from x/icebergs
icebergs/core/chat/chat.go
2024-07-11 01:54:19 +08:00

23 lines
405 B
Go

package chat
import (
ice "shylinux.com/x/icebergs"
"shylinux.com/x/icebergs/base/web"
kit "shylinux.com/x/toolkits"
)
const CHAT = "chat"
var Index = &ice.Context{Name: CHAT, Help: "聊天中心"}
func init() {
web.Index.Register(Index, &web.Frame{},
HEADER, FOOTER,
IFRAME, FAVOR,
TUTOR, FLOWS,
MESSAGE,
)
}
func Prefix(arg ...string) string { return web.Prefix(CHAT, kit.Keys(arg)) }