Source File
ssdp.go
Belonging Package
github.com/koron/go-ssdp
package ssdpimport ()func init() {multicast.InterfacesProvider = func() []net.Interface {return Interfaces}ssdplog.LoggerProvider = func() *log.Logger {return Logger}}// Interfaces specify target interfaces to multicast. If no interfaces are// specified, all interfaces will be used.var Interfaces []net.Interface// Logger is default logger for SSDP module.var Logger *log.Logger// SetMulticastRecvAddrIPv4 updates multicast address where to receive packets.// This never fail now.func ( string) error {return multicast.SetRecvAddrIPv4()}// SetMulticastSendAddrIPv4 updates a UDP address to send multicast packets.// This never fail now.func ( string) error {return multicast.SetSendAddrIPv4()}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |