round

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GossipRound

type GossipRound struct {
	Number int64       `json:"gossip_round_number"`
	Mux    *sync.Mutex `json:"gossip_round_mux"`
}

GossipRound is the number of gossiper rounds

func NewGossipRound

func NewGossipRound() *GossipRound

NewGossipRound creates new GossipRound

func (*GossipRound) GetNumber

func (r *GossipRound) GetNumber() int64

GetNumber returns the gossip round numbers

func (*GossipRound) Increment

func (r *GossipRound) Increment()

Increment increments the gossip round numbers

Jump to

Keyboard shortcuts

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