Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureConfigDir ¶
func EnsureConfigDir() error
func GetConfigDir ¶
func GetConfigDir() string
func GetDefaultConfigPath ¶
func GetDefaultConfigPath() string
func SaveConfig ¶
Types ¶
type Config ¶
type Config struct { Identity struct { Name string StoragePath string } Interfaces []struct { Name string Type string Enabled bool ListenPort int ListenIP string KissFraming bool I2PTunneled bool } Transport struct { AnnounceInterval int PathRequestTimeout int MaxHops int BitrateLimit int64 } Logging struct { Level string File string } }
func InitConfig ¶
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.