mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 04:53:50 +00:00
no message
This commit is contained in:
parent
53e57ea70d
commit
cc90bcf4e9
@ -25,7 +25,6 @@ var (
|
|||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
server.VerifyKey = *VerifyKey
|
server.VerifyKey = *VerifyKey
|
||||||
log.Println("服务端启动,监听tcp服务端端口:", *TcpPort)
|
|
||||||
cnf := server.ServerConfig{
|
cnf := server.ServerConfig{
|
||||||
TcpPort: *httpPort,
|
TcpPort: *httpPort,
|
||||||
Mode: *rpMode,
|
Mode: *rpMode,
|
||||||
@ -50,6 +49,7 @@ func main() {
|
|||||||
*TcpPort = 8284
|
*TcpPort = 8284
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Println("服务端启动,监听tcp服务端端口:", *TcpPort)
|
||||||
cnf.CompressDecode, cnf.CompressEncode = utils.GetCompressType(cnf.Compress)
|
cnf.CompressDecode, cnf.CompressEncode = utils.GetCompressType(cnf.Compress)
|
||||||
server.StartNewServer(*TcpPort, &cnf)
|
server.StartNewServer(*TcpPort, &cnf)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user