vevent

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APICallerHook

type APICallerHook struct {
	// contains filtered or unexported fields
}

func NewAPICallerHook

func NewAPICallerHook(ctx *zero.Ctx, callback func(rsp zero.APIResponse, err error)) (v *APICallerHook)

func (*APICallerHook) CallApi

func (v *APICallerHook) CallApi(request zero.APIRequest) (rsp zero.APIResponse, err error)

type Ctx

type Ctx struct {
	Event *zero.Event
	State zero.State
	// contains filtered or unexported fields
}

Ctx represents the Context which hold the event. 代表上下文

type Loop

type Loop struct {
	// contains filtered or unexported fields
}

func NewLoop

func NewLoop(bot int64) (lo Loop)

func NewLoopOf

func NewLoopOf(caller zero.APICaller) Loop

func (Loop) Echo

func (lo Loop) Echo(response []byte)

Jump to

Keyboard shortcuts

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