eventstore

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLEventStore

type SQLEventStore struct {
	// contains filtered or unexported fields
}

func NewSQLEventStore

func NewSQLEventStore(ctx context.Context, db *sql.DB) (SQLEventStore, error)

func (SQLEventStore) FetchAll

func (s SQLEventStore) FetchAll(ctx context.Context) ([]app.Event, error)

func (SQLEventStore) LatestByName

func (s SQLEventStore) LatestByName(ctx context.Context, taskName string) (event app.Event, err error)

func (SQLEventStore) Store

func (s SQLEventStore) Store(ctx context.Context, e app.Event) error

Jump to

Keyboard shortcuts

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