Documentation
¶
Overview ¶
Package config implements functions for saving a struct to a file It then provides functions to later read it such that we can restore the same struct
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// V2 indicates we are version 2
V2 *v2.V2
// contains filtered or unexported fields
}
Config represents the config state file
func NewFromDirectory ¶
NewFromDirectory creates a new config struct from a directory It does this by loading the JSON file from disk
func (*Config) HasSecureInternet ¶
HasSecureInternet returns whether or not the configuration has a secure internet server
Click to show internal directories.
Click to hide internal directories.