Documentation
¶
Overview ¶
Selected protocol types from go-livepeer bd645a09266833fb859053445d9ac85846330756. Originally by Nico Vergauwen (poll choices and pool hints) and Rick Staa (proposal choices). Their filtered source commits are retained in Git history.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ProposalVoteChoices = []ProposalVoteChoice{Against, For, Abstain}
var VoteChoices = []VoteChoice{Yes, No}
Functions ¶
This section is empty.
Types ¶
type ProposalVoteChoice ¶
type ProposalVoteChoice int
const ( Against ProposalVoteChoice = iota For Abstain )
func (ProposalVoteChoice) IsValid ¶
func (v ProposalVoteChoice) IsValid() bool
func (ProposalVoteChoice) String ¶
func (v ProposalVoteChoice) String() string
type TranscoderPoolHints ¶
type VoteChoice ¶
type VoteChoice int
const ( Yes VoteChoice = iota No )
func (VoteChoice) IsValid ¶
func (v VoteChoice) IsValid() bool
func (VoteChoice) String ¶
func (v VoteChoice) String() string