Documentation ¶
Overview ¶
Package conffile contains code to load, manipulate, and access config file settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string // disk path of HuJSON Raw []byte // raw bytes from disk, in HuJSON form Std []byte // standardized JSON form Version string // "alpha0" for now // Parsed is the parsed config, converted from its on-disk version to the // latest known format. // // As of 2023-10-15 there is exactly one format ("alpha0") so this is both // the on-disk format and the in-memory upgraded format. Parsed ipn.ConfigVAlpha }
Config describes a config file.
func (*Config) WantRunning ¶
WantRunning reports whether c is non-nil and it's configured to be running.
Click to show internal directories.
Click to hide internal directories.