MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / LoopbackConn

Method LoopbackConn

pkg/component/grpc.go:74–76  ·  view source on GitHub ↗

LoopbackConn returns the loopback gRPC connection to the component. This conn must *not* be closed.

()

Source from the content-addressed store, hash-verified

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

Callers 15

TestBatchOperationsFunction · 0.95
TestPbaFunction · 0.95
initClusterMethod · 0.95
TestAuthenticationFunction · 0.95
TestConcentratorConfigFunction · 0.95
TestMQTTConfigFunction · 0.95
TestGatewayQRCodeParsingFunction · 0.95

Implementers 1

Componentpkg/component/component.go

Calls

no outgoing calls

Tested by 15

TestBatchOperationsFunction · 0.76
TestPbaFunction · 0.76
TestAuthenticationFunction · 0.76
TestConcentratorConfigFunction · 0.76
TestMQTTConfigFunction · 0.76
TestGatewayQRCodeParsingFunction · 0.76
TestGRPCFunction · 0.76