event

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 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