Documentation
¶
Index ¶
Constants ¶
View Source
const (
MDNSServiceName = p2p_mdns.ServiceName
)
Variables ¶
View Source
var DiscoveryTimeout = time.Second * 30
Functions ¶
func DiscoveryHandler ¶
func GetMulticastInterfaces ¶
func GetMulticastInterfaces(s *MdnsService) []net.Interface
Types ¶
type MdnsService ¶
type MdnsService struct {
// contains filtered or unexported fields
}
func (*MdnsService) Close ¶
func (s *MdnsService) Close() error
func (*MdnsService) Start ¶
func (s *MdnsService) Start() error
Click to show internal directories.
Click to hide internal directories.