Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GossipState ¶
type GossipState interface {
Snapshot() *GossipStateSnapshot
UpdateValues(removeKeys []string, putKeys map[string]string) error
}
type GossipStateSnapshot ¶
type GossipStateSnapshot struct {
Values map[string]string
Version uint64
}
type SeedProvider ¶
type SeedProvider interface {
GetSeeds() ([]string, error)
}
type StaticSeedProvider ¶
type StaticSeedProvider struct {
Seeds []string
}
func NewStaticSeedProvider ¶
func NewStaticSeedProvider(seeds []string) *StaticSeedProvider
Click to show internal directories.
Click to hide internal directories.