Update protobuf and grpc

This commit is contained in:
世界
2025-05-05 13:33:35 +08:00
parent c3403c5413
commit 26ec73c71b
9 changed files with 206 additions and 362 deletions

View File

@@ -18,6 +18,7 @@ type GRPCConn struct {
}
func NewGRPCConn(service GunService) *GRPCConn {
//nolint:staticcheck
if client, isClient := service.(GunService_TunClient); isClient {
service = &clientConnWrapper{client}
}