StoreKeys implements gomatrixserverlib.KeyDatabase
( ctx context.Context, keyMap map[gomatrixserverlib.PublicKeyLookupRequest]gomatrixserverlib.PublicKeyLookupResult, )
| 58 | |
| 59 | // StoreKeys implements gomatrixserverlib.KeyDatabase |
| 60 | func (d *KeyDatabase) StoreKeys( |
| 61 | ctx context.Context, |
| 62 | keyMap map[gomatrixserverlib.PublicKeyLookupRequest]gomatrixserverlib.PublicKeyLookupResult, |
| 63 | ) error { |
| 64 | for req, res := range keyMap { |
| 65 | d.cache.StoreServerKey(req, res) |
| 66 | } |
| 67 | return d.inner.StoreKeys(ctx, keyMap) |
| 68 | } |
nothing calls this directly
no test coverage detected