Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CastDNSEntry ¶
CastDNSEntry is the interface that satisfies a Cast type.
type CastEntry ¶
type CastEntry struct {
AddrV4 net.IP
AddrV6 net.IP
Port int
Name string
Host string
UUID string
Device string
Status string
DeviceName string
InfoFields map[string]string
}
CastEntry is the concrete cast entry type.
func DiscoverCastDNSEntryByName ¶ added in v0.2.6
func DiscoverCastDNSEntryByName(ctx context.Context, iface *net.Interface, name string) (CastEntry, error)
DiscoverCastDNSEntryByName returns the first cast dns device found that matches the name.
Click to show internal directories.
Click to hide internal directories.