MCPcopy Create free account
hub / github.com/buggregator/server / Store

Method Store

internal/event/store.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, ev Event)

Source from the content-addressed store, hash-verified

20// Store persists and retrieves events.
21type Store interface {
22 Store(ctx context.Context, ev Event) error
23 FindByUUID(ctx context.Context, uuid string) (*Event, error)
24 FindAll(ctx context.Context, opts FindOptions) ([]Event, error)
25 Delete(ctx context.Context, uuid string) error

Callers 10

certForHostMethod · 0.65
HandleMethod · 0.65
DataMethod · 0.65
storeSMTPEventFunction · 0.65
TestSMTPAPI_WaitFunction · 0.65
StoreMethod · 0.65
ingestViaHandlerFunction · 0.65
HandleIncomingMethod · 0.65
TestAPI_Events_CRUDFunction · 0.65
TestAPI_DeleteAllFunction · 0.65

Implementers 3

InstrumentedStoreinternal/metrics/instrumented_store.go
SQLiteStoreinternal/storage/sqlite.go
spyStoreinternal/server/http/ingestion_test.go

Calls

no outgoing calls

Tested by 5

storeSMTPEventFunction · 0.52
TestSMTPAPI_WaitFunction · 0.52
ingestViaHandlerFunction · 0.52
TestAPI_Events_CRUDFunction · 0.52
TestAPI_DeleteAllFunction · 0.52