Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoDestination = errors.New("dest is empty")
Functions ¶
func NewLoginHandler ¶
Types ¶
type ChatHandler ¶
type ChatHandler struct {
// contains filtered or unexported fields
}
func NewChatHandler ¶
func NewChatHandler(message service.Message, group service.Group) *ChatHandler
func (*ChatHandler) DoGroupTalk ¶
func (h *ChatHandler) DoGroupTalk(ctx qim.Context)
func (*ChatHandler) DoTalkAck ¶
func (h *ChatHandler) DoTalkAck(ctx qim.Context)
func (*ChatHandler) DoUserTalk ¶
func (h *ChatHandler) DoUserTalk(ctx qim.Context)
type GroupHandler ¶
type GroupHandler struct {
// contains filtered or unexported fields
}
func NewGroupHandler ¶
func NewGroupHandler(groupService service.Group) *GroupHandler
func (*GroupHandler) DoCreate ¶
func (h *GroupHandler) DoCreate(ctx qim.Context)
func (*GroupHandler) DoDetail ¶
func (h *GroupHandler) DoDetail(ctx qim.Context)
func (*GroupHandler) DoJoin ¶
func (h *GroupHandler) DoJoin(ctx qim.Context)
func (*GroupHandler) DoQuit ¶
func (h *GroupHandler) DoQuit(ctx qim.Context)
type OfflineHandler ¶
type OfflineHandler struct {
// contains filtered or unexported fields
}
func NewOfflineHandler ¶
func NewOfflineHandler(message service.Message) *OfflineHandler
func (*OfflineHandler) DoSyncContent ¶
func (h *OfflineHandler) DoSyncContent(ctx qim.Context)
func (*OfflineHandler) DoSyncIndex ¶
func (h *OfflineHandler) DoSyncIndex(ctx qim.Context)
Click to show internal directories.
Click to hide internal directories.