Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Addr = flag.String("a", "0.0.0.0", "specify server listen address,such as : \"0.0.0.0\"") 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\"") BlockUpdate = flag.Bool("bu", false, "block version update message") BlockAds = flag.Bool("ba", false, "block advertising requests") EnableLocalVip = flag.Bool("lv", false, "enable local vip") UnlockSoundEffects = flag.Bool("sef", false, "unlock SoundEffects") QQCookieFile = flag.String("qc", "./qq.cookie", "specify cookies file ,such as : \"qq.cookie\"") LogWebTraffic = flag.Bool("wl", false, "log request url and response") )
Functions ¶
func ValidParams ¶
func ValidParams() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.