Documentation
¶
Index ¶
- type Store
- func (m *Store) Ack(ctx context.Context, le *schemalog.LogEntry) error
- func (m *Store) Close() error
- func (m *Store) Fetch(ctx context.Context, schemaName string, ackedOnly bool) (*schemalog.LogEntry, error)
- func (m *Store) GetAckCalls() uint64
- func (m *Store) GetFetchCalls() uint64
- func (m *Store) GetInsertCalls() uint64
- func (m *Store) Insert(ctx context.Context, schemaName string) (*schemalog.LogEntry, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { InsertFn func(ctx context.Context, schemaName string) (*schemalog.LogEntry, error) FetchFn func(ctx context.Context, schemaName string, ackedOnly bool) (*schemalog.LogEntry, error) AckFn func(ctx context.Context, le *schemalog.LogEntry) error CloseFn func() error // contains filtered or unexported fields }
func (*Store) GetAckCalls ¶
func (*Store) GetFetchCalls ¶
func (*Store) GetInsertCalls ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.