Documentation ¶
Index ¶
- func RowsToEvents(rows *sql.Rows) (int64, int64, []*server.Event, error)
- type SQLLog
- func (s *SQLLog) After(ctx context.Context, prefix string, revision, limit int64) (int64, []*server.Event, error)
- func (s *SQLLog) Append(ctx context.Context, event *server.Event) (int64, error)
- func (s *SQLLog) Compact(ctx context.Context, revision int64) (int64, error)
- func (s *SQLLog) CompactRevision(ctx context.Context) (int64, error)
- func (s *SQLLog) Count(ctx context.Context, prefix, startKey string, revision int64) (int64, int64, error)
- func (s *SQLLog) CurrentRevision(ctx context.Context) (int64, error)
- func (s *SQLLog) DbSize(ctx context.Context) (int64, error)
- func (s *SQLLog) List(ctx context.Context, prefix, startKey string, limit, revision int64, ...) (int64, []*server.Event, error)
- func (s *SQLLog) Start(ctx context.Context) error
- func (s *SQLLog) Watch(ctx context.Context, prefix string) <-chan []*server.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.