Documentation ¶
Overview ¶
package driver defines interfaces to be used by driver implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventLog ¶
type EventLog interface { Read(ctx context.Context, after, count int64) (event.Events, error) ReadN(ctx context.Context, index ...uint64) (event.Events, error) Append(ctx context.Context, events event.Events, version uint64) (uint64, error) FirstIndex(context.Context) (uint64, error) LastIndex(context.Context) (uint64, error) }
type EventLogWithTruncate ¶
type EventLogWithUpdate ¶
type EventStream ¶
Directories ¶
Path | Synopsis |
---|---|
package memstore provides a driver that reads and writes events to memory.
|
package memstore provides a driver that reads and writes events to memory. |
package projecter provides a driver middleware to derive new events from other events.
|
package projecter provides a driver middleware to derive new events from other events. |
package streamer provides a driver to allow awaiting for new events to be added to a stream.
|
package streamer provides a driver to allow awaiting for new events to be added to a stream. |
Click to show internal directories.
Click to hide internal directories.