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

Function NewSQLiteStore

internal/storage/sqlite.go:32–34  ·  view source on GitHub ↗
(db *sql.DB)

Source from the content-addressed store, hash-verified

30}
31
32func NewSQLiteStore(db *sql.DB) *SQLiteStore {
33 return &SQLiteStore{db: db}
34}
35
36func (s *SQLiteStore) Store(ctx context.Context, ev event.Event) error {
37 payload, _ := json.Marshal(json.RawMessage(ev.Payload))

Calls

no outgoing calls