Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLogFileNotOpened = errors.New("file not opened")
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
MockStorage is an autogenerated mock type for the Storage type
func NewMockStorage ¶ added in v0.3.0
func NewMockStorage(t interface { mock.TestingT Cleanup(func()) }) *MockStorage
NewMockStorage creates a new instance of MockStorage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockStorage) Close ¶
func (_m *MockStorage) Close() error
Close provides a mock function with no fields
func (*MockStorage) Open ¶
func (_m *MockStorage) Open() error
Open provides a mock function with no fields
Click to show internal directories.
Click to hide internal directories.