store

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	LocalAddress string
	// contains filtered or unexported fields
}

func New

func New(localAddress string, stalenessThreshold int, locker sync.Locker) *Store

func (*Store) Add

func (s *Store) Add(addrs []string)

func (*Store) GetAddresses

func (s *Store) GetAddresses() []string

Jump to

Keyboard shortcuts

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