Documentation
¶
Index ¶
- type Driver
- func (_m *Driver) Close() error
- func (_m *Driver) First() (uint, error)
- func (_m *Driver) Next(version uint) (uint, error)
- func (_m *Driver) Open(url string) (source.Driver, error)
- func (_m *Driver) Prev(version uint) (uint, error)
- func (_m *Driver) ReadDown(version uint) (io.ReadCloser, string, error)
- func (_m *Driver) ReadUp(version uint) (io.ReadCloser, string, error)
- type ReadCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func NewDriver ¶
NewDriver creates a new instance of Driver. 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.
type ReadCloser ¶
ReadCloser is an autogenerated mock type for the ReadCloser type
func NewReadCloser ¶
func NewReadCloser(t interface {
mock.TestingT
Cleanup(func())
}) *ReadCloser
NewReadCloser creates a new instance of ReadCloser. 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 (*ReadCloser) Close ¶
func (_m *ReadCloser) Close() error
Close provides a mock function with no fields
Click to show internal directories.
Click to hide internal directories.