Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// Controllers
Routes *routes
Interfaces *interfaces
Unbound *unbound
// contains filtered or unexported fields
}
type InterfacesVlan ¶
type InterfacesVlan struct {
Description string `json:"descr"`
Tag string `json:"tag"`
Priority SelectedMap `json:"pcp"`
Parent SelectedMap `json:"if"`
Device string `json:"vlanif"`
}
type Route ¶
type Route struct {
Disabled string `json:"disabled"`
Description string `json:"descr"`
Gateway SelectedMap `json:"gateway"`
Network string `json:"network"`
}
type SelectedMap ¶
type SelectedMap string
func (*SelectedMap) String ¶
func (s *SelectedMap) String() string
func (*SelectedMap) UnmarshalJSON ¶
func (s *SelectedMap) UnmarshalJSON(data []byte) error
type UnboundDomainOverride ¶
type UnboundForward ¶
type UnboundHostAlias ¶
type UnboundHostAlias struct {
Enabled string `json:"enabled"`
Host SelectedMap `json:"host"`
Hostname string `json:"hostname"`
Domain string `json:"domain"`
Description string `json:"description"`
}
type UnboundHostOverride ¶
Click to show internal directories.
Click to hide internal directories.