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

Method StoreJSON

federationapi/storage/interface.go:36–36  ·  view source on GitHub ↗
(ctx context.Context, js string)

Source from the content-addressed store, hash-verified

34 GetJoinedHostsForRooms(ctx context.Context, roomIDs []string, excludeSelf bool) ([]gomatrixserverlib.ServerName, error)
35
36 StoreJSON(ctx context.Context, js string) (*shared.Receipt, error)
37
38 GetPendingPDUs(ctx context.Context, serverName gomatrixserverlib.ServerName, limit int) (pdus map[*shared.Receipt]*gomatrixserverlib.HeaderedEvent, err error)
39 GetPendingEDUs(ctx context.Context, serverName gomatrixserverlib.ServerName, limit int) (edus map[*shared.Receipt]*gomatrixserverlib.EDU, err error)

Callers 3

TestExpireEDUsFunction · 0.65
SendEventMethod · 0.65
SendEDUMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestExpireEDUsFunction · 0.52