Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("stream: not found")
ErrNotFound is returned when the log does not exist.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log interface { // Open opens the log. Open(c context.Context, stepID int64) error // Write writes the entry to the log. Write(c context.Context, stepID int64, entries []*model.LogEntry) error // Tail tails the log. Tail(c context.Context, stepID int64, handler LogChan) error // Close closes the log. Close(c context.Context, stepID int64) error }
Log defines a log multiplexer.
Click to show internal directories.
Click to hide internal directories.