Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2020 Changes in this version + type Log interface + Cat func(ctx context.Context) ([]*LogLine, error) + Close func(ctx context.Context) error + ID func() int64 + Remove func(ctx context.Context) error + Save func(ctx context.Context) error + Tail func(ctx context.Context) (<-chan *LogLine, error) + Write func(ctx context.Context, line *LogLine) error + type LogLine struct + Number int64 + Text string + Timestamp time.Time + type LogManager interface + Close func(id int64) error + Create func() (Log, error) + Open func(id int64) (Log, error) + type LogStore interface + Create func(r io.Reader) (int64, error) + Delete func(id int64) error + Exists func(id int64) bool + Find func(id int64) (io.ReadCloser, error) + Update func(id int64, r io.Reader) error + type LogStream interface + Create func(ctx context.Context, id int64) error + Delete func(ctx context.Context, id int64) error + Tail func(ctx context.Context, id int64) (<-chan *LogLine, error) + Write func(ctx context.Context, id int64, line *LogLine) error + type MockLogStore struct + func NewMockLogStore(ctrl *gomock.Controller) *MockLogStore + func (m *MockLogStore) Create(arg0 io.Reader) (int64, error) + func (m *MockLogStore) Delete(arg0 int64) error + func (m *MockLogStore) EXPECT() *MockLogStoreMockRecorder + func (m *MockLogStore) Find(arg0 int64) (io.ReadCloser, error) + func (m *MockLogStore) Update(arg0 int64, arg1 io.Reader) error + type MockLogStoreMockRecorder struct + func (mr *MockLogStoreMockRecorder) Create(arg0 interface{}) *gomock.Call + func (mr *MockLogStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call + func (mr *MockLogStoreMockRecorder) Find(arg0 interface{}) *gomock.Call + func (mr *MockLogStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call