Documentation ¶
Overview ¶
Package buffered_async is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchResult ¶
type MockreaderHelper ¶
type MockreaderHelper struct {
// contains filtered or unexported fields
}
MockreaderHelper is a mock of readerHelper interface.
func NewMockreaderHelper ¶
func NewMockreaderHelper(ctrl *gomock.Controller) *MockreaderHelper
NewMockreaderHelper creates a new mock instance.
func (*MockreaderHelper) EXPECT ¶
func (m *MockreaderHelper) EXPECT() *MockreaderHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockreaderHelper) Read ¶
func (m *MockreaderHelper) Read() (interface{}, errors.Error)
Read mocks base method.
type MockreaderHelperMockRecorder ¶
type MockreaderHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockreaderHelperMockRecorder is the mock recorder for MockreaderHelper.
func (*MockreaderHelperMockRecorder) Read ¶
func (mr *MockreaderHelperMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read.
type Reader ¶
type Reader interface { Start(readerFunc ReaderFunc) <-chan interface{} Stop() }
type ReaderFunc ¶
type ReaderImpl ¶
type ReaderImpl struct {
// contains filtered or unexported fields
}
func NewReaderImpl ¶
func NewReaderImpl(maxCacheSize int) *ReaderImpl
func (*ReaderImpl) Start ¶
func (reader *ReaderImpl) Start(readerFunc ReaderFunc) <-chan FetchResult
func (*ReaderImpl) Stop ¶
func (reader *ReaderImpl) Stop()
Click to show internal directories.
Click to hide internal directories.