forked from x/icebergs
16 lines
362 B
Go
16 lines
362 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, IFRAME, FAVOR) }
|
|
|
|
func Prefix(arg ...string) string { return web.Prefix(CHAT, kit.Keys(arg)) }
|