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

Method GetByID

pkg/joinserver/registry.go:49–49  ·  view source on GitHub ↗
(ctx context.Context, joinEUI, devEUI types.EUI64, id []byte, paths []string)

Source from the content-addressed store, hash-verified

47// KeyRegistry is a registry, containing session keys.
48type KeyRegistry interface {
49 GetByID(ctx context.Context, joinEUI, devEUI types.EUI64, id []byte, paths []string) (*ttnpb.SessionKeys, error)
50 SetByID(ctx context.Context, joinEUI, devEUI types.EUI64, id []byte, paths []string, f func(*ttnpb.SessionKeys) (*ttnpb.SessionKeys, []string, error)) (*ttnpb.SessionKeys, error)
51 Delete(ctx context.Context, joinEUI, devEUI types.EUI64) error
52 BatchDelete(ctx context.Context, devIDs []*ttnpb.EndDeviceIdentifiers) error

Callers 14

GetMethod · 0.65
GetMethod · 0.65
HandleJoinMethod · 0.65
GetNwkSKeysMethod · 0.65
GetAppSKeyMethod · 0.65
GetHomeNetworkMethod · 0.65
handleKeyRegistryTestFunction · 0.65
GetFrequencyPlansMethod · 0.65
NewConnectionFunction · 0.65
ScheduleDownMethod · 0.65
GetFrequencyPlansMethod · 0.65

Implementers 2

MockKeyRegistrypkg/joinserver/joinserver_internal_tes
KeyRegistrypkg/joinserver/redis/registry.go

Calls

no outgoing calls