Documentation ¶
Overview ¶
Package mock abstracts the storage layer and provides a simple mock storage.
Index ¶
- Constants
- type Store
- func (s *Store) AggregateStats(time.Time) error
- func (s *Store) Events() <-chan model.Event
- func (s *Store) LatestDailyStats() (model.Stats, error)
- func (s *Store) Run() error
- func (s *Store) Search(filter string) ([]model.Event, error)
- func (s *Store) Stats(model.StatsRange) (model.CombinedStats, error)
- func (s *Store) Stop() error
- func (s *Store) TxInfo(id string) (model.TxInfo, error)
Constants ¶
View Source
const (
Parallelism = 20
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Stats ¶
func (s *Store) Stats(model.StatsRange) (model.CombinedStats, error)
Click to show internal directories.
Click to hide internal directories.