vevent

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookCtxCaller added in v1.4.0

func HookCtxCaller(ctx *zero.Ctx, hook zero.APICaller)

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. 代表上下文

Jump to

Keyboard shortcuts

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