Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceFwRules ¶
type DevicesFwRules ¶
type DevicesFwRules []DeviceFwRules
func (DevicesFwRules) SearchDevice ¶
func (dfr DevicesFwRules) SearchDevice(name string, mac string) (rules []Rule, exist bool)
type Dynv6Config ¶
type TemplateRecord ¶
func (TemplateRecord) IsEmpty ¶
func (tt TemplateRecord) IsEmpty() bool
type TpdnsConfig ¶
type TpdnsConfig struct { Router router `json:"router"` Domain domain `json:"domain"` Server server `json:"server"` Dynv6 []Dynv6Config `json:"dynv6"` Fwrules DevicesFwRules `json:"fwrules"` Log LogConfig `json:"log"` }
func ReadConf ¶
func ReadConf(filename string) (c *TpdnsConfig, err error)
Click to show internal directories.
Click to hide internal directories.