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.
Click to show internal directories.
Click to hide internal directories.