KeyRegistry is an implementation of joinserver.KeyRegistry.
| 422 | |
| 423 | // KeyRegistry is an implementation of joinserver.KeyRegistry. |
| 424 | type 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. |
| 432 | func (r *KeyRegistry) Init(ctx context.Context) error { |
nothing calls this directly
no outgoing calls
no test coverage detected