event

package
v0.37.7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPayloadType = errors.New("error payload type")
)

Functions

This section is empty.

Types

type CloseProxyPayload

type CloseProxyPayload struct {
	CloseProxyMsg *msg.CloseProxy
}

type Handler added in v0.36.3

type Handler func(evType Type, payload interface{}) error

type StartProxyPayload

type StartProxyPayload struct {
	NewProxyMsg *msg.NewProxy
}

type Type added in v0.36.3

type Type int
const (
	EvStartProxy Type = iota
	EvCloseProxy
)

Jump to

Keyboard shortcuts

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