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

Method EventNIDs

roomserver/storage/interface.go:88–88  ·  view source on GitHub ↗

Look up the numeric IDs for a list of events. Returns an error if there was a problem talking to the database.

(ctx context.Context, eventIDs []string)

Source from the content-addressed store, hash-verified

86 // Look up the numeric IDs for a list of events.
87 // Returns an error if there was a problem talking to the database.
88 EventNIDs(ctx context.Context, eventIDs []string) (map[string]types.EventNID, error)
89 // Set the state at an event. FIXME TODO: "at"
90 SetState(ctx context.Context, eventNID types.EventNID, stateNID types.StateSnapshotNID) error
91 // Lookup the event IDs for a batch of event numeric IDs.

Callers 5

ServersAtEventMethod · 0.65
ProvideEventsMethod · 0.65
persistEventsFunction · 0.65
QueryEventsByIDMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected