Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery is a grav Discovery plugin using local network multicast
func (*Discovery) Start ¶
func (d *Discovery) Start(opts *grav.DiscoveryOpts, discoveryFunc grav.DiscoveryFunc) error
Start starts discovery
func (*Discovery) UseDiscoveryFunc ¶
UseDiscoveryFunc sets the function to be used when a new peer is discovered
Click to show internal directories.
Click to hide internal directories.