config

package
v0.0.0-...-69f0c43 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Port             = flag.Int("p", 80, "specify server port,such as : \"80\"")
	TLSPort          = flag.Int("sp", 443, "specify server tls port,such as : \"443\"")
	Source           = flag.String("o", "kuwo", "specify server source,such as : \"kuwo\"")
	CertFile         = flag.String("c", "./server.crt", "specify server cert,such as : \"server.crt\"")
	KeyFile          = flag.String("k", "./server.key", "specify server cert key ,such as : \"server.key\"")
	LogFile          = flag.String("l", "", "specify log file ,such as : \"/var/log/unblockNeteaseMusic.log\"")
	Mode             = flag.Int("m", 1, "specify running mode(1:hosts) ,such as : \"1\"")
	V                = flag.Bool("v", false, "display version info")
	EndPoint         = flag.Bool("e", false, "enable replace song url")
	ForceBestQuality = flag.Bool("b", false, "force the best music quality")
	SearchLimit      = flag.Int("sl", 0, "specify the number of songs searched on other platforms(the range is 0 to 3) ,such as : \"1\"")
	IpsDomain        = flag.String("f", "", "force ipaddress \"domain=ip,domain2=ip\"")
)

Functions

func ValidParams

func ValidParams() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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