mock

package
v0.0.0-...-1005c5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock abstracts the storage layer and provides a simple mock storage.

Index

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 New

func New() *Store

func (*Store) Events

func (s *Store) Events() <-chan model.Event

func (*Store) Run

func (s *Store) Run() error

func (*Store) Search

func (s *Store) Search(filter string) ([]model.Event, error)

func (*Store) Stats

func (s *Store) Stats() (model.Stats, error)

func (*Store) Stop

func (s *Store) Stop() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL