events

package
Version: v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageEvent

type MessageEvent int

MessageEvent represents some sort of message event, like a new message

const (
	NewMessageEvent MessageEvent = iota
)

The actual events

type NetworkEvent

type NetworkEvent int

NetworkEvent represents some sort of network event, like startup/shutdown.

const (
	StartupEvent NetworkEvent = iota
	CloseEvent
)

The actual events

type PeerEvent

type PeerEvent int

PeerEvent represents a peer event, like a new peer addition

const (
	PeerAddEvent PeerEvent = iota
	PeerDisconnectEvent
	PeerPromotionEvent
)

The actual events

Source Files

Jump to

Keyboard shortcuts

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