handler

package
v0.0.0-...-e7f8777 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoDestination = errors.New("dest is empty")

Functions

func NewLoginHandler

func NewLoginHandler(lg *zap.Logger) *loginHandler

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)

Jump to

Keyboard shortcuts

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