event

package
v0.35.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 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

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

type StartProxyPayload

type StartProxyPayload struct {
	NewProxyMsg *msg.NewProxy
}

type Type

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