Documentation ¶
Index ¶
Constants ¶
View Source
const ( Prefix = "pcp" ContextKey = "config" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Settings *Settings
}
Config contains general user settings and peer identity information. The configuration is split, so the identity information can easier be saved with more restrict access permissions as it contains the private Key.
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.