event

package
v0.0.0-...-5349944 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 12 Imported by: 2

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       // 元事件
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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