handler

package
v0.0.0-...-69995ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL