Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiscoveryBackend ¶
type DiscoveryBackend interface { Register(entry types.Entry, ttl time.Duration) error Deregister(entry types.Entry) error Watch() (chan types.Entries, chan error, error) Unwatch() error }
discovery backend
func NewBackend ¶
func NewBackend(s store.Store, ef types.EntryFactory, p string, serv string, hb time.Duration) DiscoveryBackend
Click to show internal directories.
Click to hide internal directories.