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

Method GetPeerConn

pkg/cluster/cluster.go:55–55  ·  view source on GitHub ↗

GetPeerConn returns the gRPC client connection of a peer, if the peer is available as as per GetPeer.

(ctx context.Context, role ttnpb.ClusterRole, ids EntityIdentifiers)

Source from the content-addressed store, hash-verified

53 // GetPeerConn returns the gRPC client connection of a peer, if the peer is available as
54 // as per GetPeer.
55 GetPeerConn(ctx context.Context, role ttnpb.ClusterRole, ids EntityIdentifiers) (*grpc.ClientConn, error)
56
57 // ClaimIDs can be used to indicate that the current peer takes
58 // responsibility for entities identified by ids.

Callers 15

retrieveMethod · 0.65
newUserRegistryClientMethod · 0.65
handleDownlinkMessageMethod · 0.65
handleUplinkMessageMethod · 0.65
GetPeerConnMethod · 0.65
GetMethod · 0.65
HandleJoinMethod · 0.65
newRegistryClientMethod · 0.65
ConnectGatewayMethod · 0.65
HandleUplinkMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected