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

Function createEventDB

roomserver/internal/query/query_test.go:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func createEventDB() *getEventDB {
33 return &getEventDB{
34 eventMap: make(map[string]*gomatrixserverlib.Event),
35 }
36}
37
38// Adds a fake event to the storage with given auth events.
39func (db *getEventDB) addFakeEvent(eventID string, authIDs []string) error {

Callers 2

TestGetAuthChainSingleFunction · 0.85
TestGetAuthChainMultipleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected