MCPcopy Create free account
hub / github.com/daodst/chat / StoreServerKey

Method StoreServerKey

internal/caching/cache_serverkeys.go:21–21  ·  view source on GitHub ↗

request -> result is emulating gomatrixserverlib.StoreKeys: https://github.com/matrix-org/gomatrixserverlib/blob/f69539c86ea55d1e2cc76fd8e944e2d82d30397c/keyring.go#L112

(request gomatrixserverlib.PublicKeyLookupRequest, response gomatrixserverlib.PublicKeyLookupResult)

Source from the content-addressed store, hash-verified

19 // request -> result is emulating gomatrixserverlib.StoreKeys:
20 // https://github.com/matrix-org/gomatrixserverlib/blob/f69539c86ea55d1e2cc76fd8e944e2d82d30397c/keyring.go#L112
21 StoreServerKey(request gomatrixserverlib.PublicKeyLookupRequest, response gomatrixserverlib.PublicKeyLookupResult)
22}
23
24func (c Caches) GetServerKey(

Callers 4

FetchKeysMethod · 0.65
StoreKeysMethod · 0.65
StoreKeysMethod · 0.65
FetchKeysMethod · 0.65

Implementers 1

Cachesinternal/caching/caches.go

Calls

no outgoing calls

Tested by

no test coverage detected