Documentation
¶
Overview ¶
Package ctxext zero ctx 扩展
Index ¶
- func CardOrNickName(ctx *zero.Ctx, uid int64) (name string)
- func CmdMatch(ctx *zero.Ctx) bool
- func Exists(ctx *zero.Ctx) bool
- func GetMessage(ctx *zero.Ctx) func(int64) zero.Message
- func MustGiven(ctx *zero.Ctx) bool
- func NickName(ctx *zero.Ctx) (name string)
- func SendMessage(ctx *zero.Ctx, user int64) func(interface{}) int64
- func UserOrGrpAdmin(ctx *zero.Ctx) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CardOrNickName ¶
CardOrNickName 从 uid 获取名字
func UserOrGrpAdmin ¶ added in v1.2.4
UserOrGrpAdmin 允许用户单独使用或群管使用
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.