Documentation ¶
Index ¶
- type ServiceHandler
- func (h *ServiceHandler) GetOfflineMessageContent(c iris.Context)
- func (h *ServiceHandler) GetOfflineMessageIndex(c iris.Context)
- func (h *ServiceHandler) GroupCreate(c iris.Context)
- func (h *ServiceHandler) GroupGet(c iris.Context)
- func (h *ServiceHandler) GroupJoin(c iris.Context)
- func (h *ServiceHandler) GroupMembers(c iris.Context)
- func (h *ServiceHandler) GroupQuit(c iris.Context)
- func (h *ServiceHandler) InsertGroupMessage(c iris.Context)
- func (h *ServiceHandler) InsertUserMessage(c iris.Context)
- func (h *ServiceHandler) MessageAck(c iris.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceHandler ¶
type ServiceHandler struct { BaseDb *gorm.DB MessageDb *gorm.DB Cache *redis.Client Idgen *database.IDGenerator }
func (*ServiceHandler) GetOfflineMessageContent ¶
func (h *ServiceHandler) GetOfflineMessageContent(c iris.Context)
func (*ServiceHandler) GetOfflineMessageIndex ¶
func (h *ServiceHandler) GetOfflineMessageIndex(c iris.Context)
func (*ServiceHandler) GroupCreate ¶
func (h *ServiceHandler) GroupCreate(c iris.Context)
func (*ServiceHandler) GroupGet ¶
func (h *ServiceHandler) GroupGet(c iris.Context)
func (*ServiceHandler) GroupJoin ¶
func (h *ServiceHandler) GroupJoin(c iris.Context)
func (*ServiceHandler) GroupMembers ¶
func (h *ServiceHandler) GroupMembers(c iris.Context)
func (*ServiceHandler) GroupQuit ¶
func (h *ServiceHandler) GroupQuit(c iris.Context)
func (*ServiceHandler) InsertGroupMessage ¶
func (h *ServiceHandler) InsertGroupMessage(c iris.Context)
func (*ServiceHandler) InsertUserMessage ¶
func (h *ServiceHandler) InsertUserMessage(c iris.Context)
func (*ServiceHandler) MessageAck ¶
func (h *ServiceHandler) MessageAck(c iris.Context)
Click to show internal directories.
Click to hide internal directories.