Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapConfig ¶
type Config ¶
type Config struct {
Node NodeConfig `toml:"node"`
Bootstrap BootstrapConfig `toml:"bootstrap"`
CA CAConfig `toml:"ca"`
Join JoinConfig `toml:"join"`
SOCKS SOCKSConfig `toml:"socks"`
DNS DNSConfig `toml:"dns"`
Exit ExitConfig `toml:"exit"`
Scribe ScribeConfig `toml:"scribe"`
Tun TunConfig `toml:"tun"`
Persist PersistConfig `toml:"persist"`
Control ControlConfig `toml:"control"`
}
type ControlConfig ¶
type ControlConfig struct {
Socket string `toml:"socket"` // Unix socket path, default ~/.pulse/pulse.sock
}
type ExitConfig ¶
type JoinConfig ¶
type NodeConfig ¶
type NodeConfig struct {
Addr string `toml:"addr"` // advertised address (gossipped to peers)
Listen string `toml:"listen"` // actual bind address (defaults to addr if empty)
TCPListen string `toml:"tcp_listen"`
DataDir string `toml:"data_dir"`
NetworkID string `toml:"network_id"` // network isolation ID (peers with different IDs are rejected)
LogLevel string `toml:"log_level"` // debug, info, warn, error (default: info)
}
type PersistConfig ¶
type SOCKSConfig ¶
type ScribeConfig ¶
Click to show internal directories.
Click to hide internal directories.