Documentation ¶
Index ¶
- Constants
- type Discovery
- func (d *Discovery) EarliestNode(context.Context) (*discovery.Node, error)
- func (d *Discovery) ID() string
- func (d *Discovery) Nodes(ctx context.Context) ([]*discovery.Node, error)
- func (d *Discovery) Start(_ context.Context, meta discovery.Meta) error
- func (d *Discovery) Stop() error
- func (d *Discovery) Watch(ctx context.Context) (<-chan discovery.Event, error)
- type Option
Constants ¶
View Source
const ( Service = "service" Domain = "domain" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery represents the mDNS discovery provider
func (*Discovery) EarliestNode ¶
EarliestNode returns the earliest node. This is based upon the node timestamp
Click to show internal directories.
Click to hide internal directories.