LoopbackConn returns the loopback gRPC connection to the component. This conn must *not* be closed.
()
| 72 | // LoopbackConn returns the loopback gRPC connection to the component. |
| 73 | // This conn must *not* be closed. |
| 74 | func (c *Component) LoopbackConn() *grpc.ClientConn { |
| 75 | return c.loopback |
| 76 | } |
| 77 | |
| 78 | func (c *Component) serveGRPC(lis net.Listener) error { |
| 79 | return c.GRPC.Serve(lis) |
no outgoing calls