Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicStore ¶
type BasicStore struct {
// contains filtered or unexported fields
}
func NewBasicStore ¶
func NewBasicStore() (BasicStore, error)
func (*BasicStore) Update ¶
func (c *BasicStore) Update(value string)
type PollingObserver ¶
type PollingObserver struct {
// contains filtered or unexported fields
}
func NewPollingObserver ¶
func NewPollingObserver() PollingObserver
func (*PollingObserver) GetChan ¶
func (c *PollingObserver) GetChan() <-chan string
type ServiceDiscovery ¶
type ServiceDiscovery struct {
// contains filtered or unexported fields
}
func NewServiceDiscovery ¶
func NewServiceDiscovery(port int, onPeersUpdate func([]string)) (ServiceDiscovery, error)
Click to show internal directories.
Click to hide internal directories.