config

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const FallbackNetworkConfig = `` /* 12457-byte string literal not displayed */

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(cfg *Config, dir string) error

Types

type Config added in v0.7.0

type Config struct {
	Key              ed25519.PrivateKey
	ListenAddr       string
	ExternalIP       string
	DownloadsPath    string
	NetworkConfigUrl string
}

func LoadConfig

func LoadConfig(dir string) (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL