message

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VOTE_REQUEST = 6909 + iota
	VOTE_RESPONSE
)

Variables

This section is empty.

Functions

func Poll

func Poll(poll p2p.Poll) []byte

Poll ...

func ToPoll

func ToPoll(msg *m.Message) (info p2p.Poll, err error)

ToPoll ...

func ToVote

func ToVote(msg *m.Message) (info p2p.Vote, err error)

ToVote ...

func Vote

func Vote(vote p2p.Vote) []byte

Vote ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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