Documentation ¶
Overview ¶
Package config is responsible for parsing the SIG json config file into a set of simple intermediate data-structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
Cfg is a direct Go representation of the JSON file format.
func LoadFromFile ¶
Load a JSON config file from path and parse it into a Cfg struct.
type IPNet ¶
IPNet is custom type of net.IPNet, to allow custom unmarshalling.
func (*IPNet) MarshalJSON ¶
func (*IPNet) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.