Documentation
¶
Overview ¶
Package memory is an in-memory store.Store: enough to run the full engine in tests and the zero-setup CLI demo. Concurrency-safe. The tiered segment store (columnar, object-store-backed) satisfies the same interface for scale.
Index ¶
- type Store
- func (s *Store) Clear() error
- func (s *Store) DeleteUser(distinctID string) (int, error)
- func (s *Store) Ingest(events ...event.Event) error
- func (s *Store) Names() ([]string, error)
- func (s *Store) Prune(before time.Time) (int, error)
- func (s *Store) Range(from, to time.Time) ([]event.Event, error)
- func (s *Store) Scan(from, to time.Time, fn func(event.Event) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteUser ¶ added in v0.3.0
DeleteUser erases every event for one distinct_id (GDPR erasure).
Click to show internal directories.
Click to hide internal directories.