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

Struct KeyRegistry

pkg/joinserver/redis/registry.go:424–429  ·  view source on GitHub ↗

KeyRegistry is an implementation of joinserver.KeyRegistry.

Source from the content-addressed store, hash-verified

422
423// KeyRegistry is an implementation of joinserver.KeyRegistry.
424type KeyRegistry struct {
425 Redis *ttnredis.Client
426 LockTTL time.Duration
427 // Limit is the maximum number of session keys to store per JoinEUI and DevEUI combination.
428 Limit int
429}
430
431// Init initializes the KeyRegistry.
432func (r *KeyRegistry) Init(ctx context.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected