Documentation
¶
Index ¶
- Constants
- func IsIPDenyError(err error) bool
- func IsInterfaceError(err error) bool
- func IsRequestError(err error) bool
- func IsSSDPError(err error) bool
- func NewIPDenyError(ip net.IP) error
- func NewIPNotAllowError(ip net.IP) error
- func NewSSDPServer(ctx context.Context, ifaces []*net.Interface, uuids []string) (*ssdpServer, error)
- type ErrorHandler
- type IPDenyError
- type InfoHandler
- type InterfaceError
- type RequestError
- type SSDPError
- type SSDPServer
Constants ¶
View Source
const (
MulticastAddrPort string = "239.255.255.250:1900"
)
Variables ¶
This section is empty.
Functions ¶
func IsIPDenyError ¶
func IsInterfaceError ¶
func IsRequestError ¶
func IsSSDPError ¶
func NewIPDenyError ¶
func NewIPNotAllowError ¶
Types ¶
type ErrorHandler ¶
type ErrorHandler func(error)
type IPDenyError ¶
func (*IPDenyError) Error ¶
func (e *IPDenyError) Error() string
type InfoHandler ¶
type InfoHandler func(string)
type InterfaceError ¶
func (*InterfaceError) Error ¶
func (e *InterfaceError) Error() (s string)
type RequestError ¶
func (*RequestError) Error ¶
func (e *RequestError) Error() string
Click to show internal directories.
Click to hide internal directories.