config

package
v0.2.26 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() error

func LoadConfigByPath

func LoadConfigByPath(p string) error

Types

type Conf

type Conf struct {
	User       string
	Listen     string
	Socks5     string
	Id         string
	P2pPort    int
	MaxPeers   int
	Nodisc     bool
	Update     bool
	AutoUpdate bool
	ConfigPath string
}
var Cfg *Conf

Jump to

Keyboard shortcuts

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