Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnebotEventClient ¶
type OnebotEventClient struct { message.OnebotMessageEventCli // 消息事件 notice.OnebotNoticeEventCli // 通知事件 request.OnebotRequestEventCli // 请求事件 meta.OnebotMetaEventCli // 元事件 // contains filtered or unexported fields }
func NewOnebotEventCli ¶
func NewOnebotEventCli(conf *config.OnebotEventConfig) (*OnebotEventClient, error)
func (*OnebotEventClient) StartListenWithCtx ¶
func (cli *OnebotEventClient) StartListenWithCtx(ctx context.Context) error
type OnebotEventClientInterface ¶
type OnebotEventClientInterface interface { message.OnebotMessageEventCli // 消息事件 notice.OnebotNoticeEventCli // 通知事件 request.OnebotRequestEventCli // 请求事件 meta.OnebotMetaEventCli // 元事件 }
Click to show internal directories.
Click to hide internal directories.