Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMulticastInterfacesRequest ¶
type GetMulticastInterfacesRequest struct{}
type GetMulticastInterfacesResponse ¶
type GetMulticastInterfacesResponse struct {
Interfaces []string `json:"multicast_interfaces"`
}
type GroupAddress ¶
type GroupAddress string
type Multicast ¶
Multicast represents the multicast advertisement and discovery mechanism used by Yggdrasil to find peers on the same subnet. When a beacon is received on a configured multicast interface, Yggdrasil will attempt to peer with that node automatically.
func New ¶
Start starts the multicast interface. This launches goroutines which will listen for multicast beacons from other hosts and will advertise multicast beacons out to the network.
func (*Multicast) AnnounceNow ¶
func (m *Multicast) AnnounceNow()
func (*Multicast) SetupAdminHandlers ¶
func (m *Multicast) SetupAdminHandlers(a *admin.AdminSocket)
type MulticastInterface ¶
type SetupOption ¶
type SetupOption interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.