Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorEvent ¶
type PostgresStore ¶
type PostgresStore struct {
// contains filtered or unexported fields
}
func (*PostgresStore) List ¶
func (s *PostgresStore) List(ctx context.Context, filter Filter) ([]ErrorEvent, error)
func (*PostgresStore) Persist ¶
func (s *PostgresStore) Persist(ctx context.Context, event ErrorEvent) error
type Store ¶
type Store interface {
Persist(context.Context, ErrorEvent) error
List(context.Context, Filter) ([]ErrorEvent, error)
}
func NewNoopStore ¶
func NewNoopStore() Store
func NewPostgresStore ¶
Click to show internal directories.
Click to hide internal directories.