Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DebugMode indicates mode is debug. DebugMode = "debug" // ReleaseMode indicates mode is release. ReleaseMode = "release" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message 消息
func NewMessage ¶
NewMessage createNewMessage
func (*Message) DeleteMessage ¶
DeleteMessage delete message_list by id
func (*Message) GetMessageByID ¶
GetMessageByID 根据id得到返回值
func (*Message) MessageList ¶
MessageList get message_list by condition
func (*Message) SaveMessage ¶
SaveMessage 保存消息,但是不发送消息、在上一次草稿的基础之上,直接发送消息,直接发送消息,
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record 消息发送结构体
func (*Record) CenterMsByID ¶
CenterMsByID find message by id
func (*Record) DeleteByIDs ¶
DeleteByIDs delete message by IDs
func (*Record) GetMesSendList ¶
GetMesSendList get by condition
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router 路由
type RouterOption ¶
type RouterOption func(*gin.RouterGroup) error
func WithBus ¶
func WithBus(bus *core.Bus) RouterOption
func WithSender ¶
func WithSender(cz *service.CacheZone, manager *wm.Manager) RouterOption
func WithWebSocket ¶
func WithWebSocket(ctx context.Context, ws *Websocket) RouterOption
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
Template Controller
func NewTemplate ¶
NewTemplate 创建
func (*Template) CreateTemplate ¶
CreateTemplate 生成Template 模板
func (*Template) DeleteTemplate ¶
DeleteTemplate 删除
func (*Template) QueryTemplatePage ¶
QueryTemplatePage 条件查询
func (*Template) UpdateTemplate ¶
UpdateTemplate update
type Websocket ¶
type Websocket struct {
// contains filtered or unexported fields
}
func NewWebsocket ¶
Click to show internal directories.
Click to hide internal directories.