展示服务器列表

This commit is contained in:
奶爸 committed 2019-12-09 18:14:31 +08:00
1 parent f7d7e9ef49
commit db364099fb
18 files changed
+173 -77

No files matched your search

+1 -4
View File
@@ -13,10 +13,7 @@ import (
func ServeRPC() {
server := grpc.NewServer()
pb.RegisterNezhaServiceServer(server, &rpcService.NezhaHandler{
Auth: &rpcService.AuthHandler{
ClientID: "naiba",
ClientSecret: "123456",
},
Auth: &rpcService.AuthHandler{},
})
listen, err := net.Listen("tcp", ":5555")
if err != nil {