mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
客户端授权验证
This commit is contained in:
@@ -14,8 +14,8 @@ func ServeRPC() {
|
||||
server := grpc.NewServer()
|
||||
pb.RegisterNezhaServiceServer(server, &rpcService.NezhaHandler{
|
||||
Auth: &rpcService.AuthHandler{
|
||||
AppKey: "naiba",
|
||||
AppSecret: "123456",
|
||||
ClientID: "naiba",
|
||||
ClientSecret: "123456",
|
||||
},
|
||||
})
|
||||
listen, err := net.Listen("tcp", ":5555")
|
||||
|
||||
Reference in New Issue
Block a user