MCPcopy Create free account
hub / github.com/djun/wechatbot / MessageHandlerInterface

Interface MessageHandlerInterface

handlers/handler.go:10–13  ·  view source on GitHub ↗

MessageHandlerInterface 消息处理接口

Source from the content-addressed store, hash-verified

8
9// MessageHandlerInterface 消息处理接口
10type MessageHandlerInterface interface {
11 handle(*openwechat.Message) error
12 ReplyText(*openwechat.Message) error
13}
14
15type HandlerType string
16

Callers 3

HandlerFunction · 0.65
ReplyTextMethod · 0.65
ReplyTextMethod · 0.65

Implementers 2

GroupMessageHandlerhandlers/group_msg_handler.go
UserMessageHandlerhandlers/user_msg_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected