Versions in this module Expand all Collapse all v0 v0.3.0 Jan 5, 2023 v0.2.0 Jul 17, 2022 Changes in this version + const ErrHost + const ErrInvalidPort + func GetHostAddr(iface string) (ip net.IP, err error) + type LANBroadcast struct + func New(ip net.IP, port int, motd string) (l *LANBroadcast, err error) + func (l *LANBroadcast) Broadcast(ctx context.Context) + func (l *LANBroadcast) Close() + func (l *LANBroadcast) SetInterval(t uint) + func (l *LANBroadcast) SetMOTD(message string)