grpc.WithInsecure弃用

291 阅读1分钟

grpc.WithInsecure弃用

  conn, err := grpc.Dial(data.Addr[7:], grpc.WithTransportCredentials(insecure.NewCredentials()))