NewCachedStorage creates a new CachedStorage
(backend KeyPairStorage, cache KeyPairStorage)
| 148 | |
| 149 | // NewCachedStorage creates a new CachedStorage |
| 150 | func NewCachedStorage(backend KeyPairStorage, cache KeyPairStorage) *CachedStorage { |
| 151 | return &CachedStorage{ |
| 152 | cache: cache, |
| 153 | backend: backend, |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | var _ KeyPairStorage = (&CachedStorage{}) |
| 158 |
nothing calls this directly
no outgoing calls
no test coverage detected