Documentation
¶
Overview ¶
mdns-gateway package is an API for discovered network services
Index ¶
Constants ¶
View Source
const ( DefaultName = mdns.DefaultName + "-gateway" DefaultTimeout = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func NewWithConfig ¶
Types ¶
type Config ¶
type Config struct {
L string `hcl:"label,label" json:"label,omitempty"` // Label
D string `hcl:"domain,optional" json:"domain,omitempty"` // Domain (defaults to local)
Interface string `hcl:"interface,optional" json:"interface,omitempty"` // Interface name
T types.Duration `hcl:"ttl,optional" json:"ttl,omitempty"` // TTL
Task types.Task `hcl:"discovery,optional" json:"discovery,omitempty"` // NetServicesTask (optional)
}
Click to show internal directories.
Click to hide internal directories.