Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LANDiscover ¶
type LANDiscover struct {
// contains filtered or unexported fields
}
LANDiscover responsible for finding the related services registered LAN nodes.
func NewLANDiscover ¶
func NewLANDiscover(protocol mDNSProtocol, port int) *LANDiscover
NewLANDiscover create a new LAN node discover.
func (*LANDiscover) Subscribe ¶
func (ld *LANDiscover) Subscribe() (*event.Subscription, error)
Subscribe used to subscribe for LANPeerEvent.
type LANPeerEvent ¶
LANPeerEvent represent LAN peer ip and port.
Click to show internal directories.
Click to hide internal directories.