Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceName = "name" Service = "service" Domain = "domain" Port = "port" IPv6 = "ipv6" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery defines the mDNS discovery provider
func NewDiscovery ¶ added in v0.5.1
func NewDiscovery() *Discovery
NewDiscovery returns an instance of the mDNS discovery provider
func (*Discovery) Deregister ¶ added in v0.5.1
Deregister removes this node from a service discovery directory.
func (*Discovery) DiscoverPeers ¶ added in v0.5.1
DiscoverPeers returns a list of known nodes.
func (*Discovery) Initialize ¶ added in v0.5.1
Initialize the discovery provider
Click to show internal directories.
Click to hide internal directories.