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

Method idSetKey

pkg/joinserver/redis/registry.go:447–449  ·  view source on GitHub ↗
(joinEUI, devEUI types.EUI64)

Source from the content-addressed store, hash-verified

445}
446
447func (r *KeyRegistry) idSetKey(joinEUI, devEUI types.EUI64) string {
448 return r.Redis.Key("ids", joinEUI.String(), devEUI.String())
449}
450
451// GetByID gets session keys by joinEUI, devEUI, id.
452func (r *KeyRegistry) GetByID(ctx context.Context, joinEUI, devEUI types.EUI64, id []byte, paths []string) (*ttnpb.SessionKeys, error) {

Callers 3

SetByIDMethod · 0.95
DeleteMethod · 0.95
BatchDeleteMethod · 0.95

Implementers 2

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

Calls 2

KeyMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected