event

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 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 EventHandler

type EventHandler func(evType EventType, payload interface{}) error

type EventType

type EventType int
const (
	EvStartProxy EventType = iota
	EvCloseProxy
)

type StartProxyPayload

type StartProxyPayload struct {
	NewProxyMsg *msg.NewProxy
}

Jump to

Keyboard shortcuts

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