MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / NewStore

Function NewStore

internal/usage/store.go:37–39  ·  view source on GitHub ↗
(pool *pgxpool.Pool)

Source from the content-addressed store, hash-verified

35}
36
37func NewStore(pool *pgxpool.Pool) *Store {
38 return &Store{pool: pool}
39}
40
41func (s *Store) RecordUsageEvent(ctx context.Context, event *UsageEvent) error {
42 if event.ID == "" {

Calls

no outgoing calls