Documentation ¶
Index ¶
Constants ¶
View Source
const (
AddrString = "239.255.255.250:1900"
)
Variables ¶
View Source
var NetAddr = &net.UDPAddr{IP: net.IPv4(239, 255, 255, 250), Port: 1900}
Functions ¶
This section is empty.
Types ¶
type Advertiser ¶
type Advertiser struct { Config // contains filtered or unexported fields }
func NewAdvertiser ¶
func NewAdvertiser(c Config, rp func() int, l logging.Logger) *Advertiser
func (*Advertiser) Serve ¶
func (a *Advertiser) Serve()
func (*Advertiser) Stop ¶
func (a *Advertiser) Stop()
func (*Advertiser) String ¶
func (a *Advertiser) String() string
Click to show internal directories.
Click to hide internal directories.