Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Started TODO Started eventEnum = iota // Stopped TODO Stopped )
Variables ¶
View Source
var ErrUnknownEvent = errors.New("p2p interface event: unknown")
ErrUnknownEvent is thrown when an unknown p2p interface event is encountered.
Functions ¶
This section is empty.
Types ¶
type EventEnum ¶
type EventEnum interface { Type() eventEnum String() string }
EventEnum are the exported event enums.
func AllEventEnums ¶
func AllEventEnums() []EventEnum
AllEventEnums returns all of the p2p interface event enums.
func EventEnumFromString ¶
EventEnumFromString parses a string to return the p2p interface event.
Click to show internal directories.
Click to hide internal directories.