types

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
var ProposalVoteChoices = []ProposalVoteChoice{Against, For, Abstain}
View Source
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 TranscoderPoolHints struct {
	PosNext common.Address
	PosPrev common.Address
}

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

Jump to

Keyboard shortcuts

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