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

Method OneTimeKeysCount

keyserver/storage/interface.go:35–35  ·  view source on GitHub ↗

OneTimeKeysCount returns a count of all OTKs for this device.

(ctx context.Context, userID, deviceID string)

Source from the content-addressed store, hash-verified

33
34 // OneTimeKeysCount returns a count of all OTKs for this device.
35 OneTimeKeysCount(ctx context.Context, userID, deviceID string) (*api.OneTimeKeysCount, error)
36
37 // DeviceKeysJSON populates the KeyJSON for the given keys. If any proided `keys` have a `KeyJSON` or `StreamID` already then it will be replaced.
38 DeviceKeysJSON(ctx context.Context, keys []api.DeviceMessage) error

Callers 2

QueryOneTimeKeysMethod · 0.65
uploadOneTimeKeysMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected