NewClientConnWithContext creates a gRPC client connection to addr using ctx.
(_ context.Context, addr string, opts ...grpc.DialOption)
| 341 | |
| 342 | // NewClientConnWithContext creates a gRPC client connection to addr using ctx. |
| 343 | func NewClientConnWithContext(_ context.Context, addr string, opts ...grpc.DialOption) *grpc.ClientConn { |
| 344 | conn, err := grpc.NewClient(addr, opts...) |
| 345 | if err != nil { |
| 346 | logger.Fatalf("grpc.NewClient(%q) = %v", addr, err) |
| 347 | } |
| 348 | return conn |
| 349 | } |
no test coverage detected