Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJSONFromFile ¶
Types ¶
type Branch ¶
type Page ¶
func (*Page) GetBranchForQuery ¶
Does not forward errors from Branch.Matches (which would error on bad regexes, for example).
Result will either be a valid Branch pointer or nil, depending on whether a matching branch exists. If there are multiple branches that could have matched, you will always get the first one in the array. This is by design, and why branch order matters.
type Record ¶
type Record struct { DomainName string `json:"domain_name"` Rttl int `json:"rttl"` Rclass string `json:"rclass"` Rtype string `json:"rtype"` Rdata interface{} `json:"rdata"` }
func (*Record) Normalize ¶
func (r *Record) Normalize()
Fill in data that was left implied via defaults
func (*Record) RdataString ¶
Click to show internal directories.
Click to hide internal directories.