GetIdentifiersForEUI implements EntityRegistry.
(ctx context.Context, req *ttnpb.GetGatewayIdentifiersForEUIRequest)
| 85 | |
| 86 | // GetIdentifiersForEUI implements EntityRegistry. |
| 87 | func (is IS) GetIdentifiersForEUI(ctx context.Context, req *ttnpb.GetGatewayIdentifiersForEUIRequest) (*ttnpb.GatewayIdentifiers, error) { |
| 88 | registry, err := is.newRegistryClient(ctx, &ttnpb.GatewayIdentifiers{Eui: req.Eui}) |
| 89 | if err != nil { |
| 90 | return nil, err |
| 91 | } |
| 92 | return registry.GetIdentifiersForEUI(ctx, req, is.WithClusterAuth()) |
| 93 | } |
| 94 | |
| 95 | // Get implements EntityRegistry. |
| 96 | func (is IS) Get(ctx context.Context, req *ttnpb.GetGatewayRequest) (*ttnpb.Gateway, error) { |
nothing calls this directly
no test coverage detected