Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamable ¶
Streamable is an autogenerated mock type for the Streamable type
func NewStreamable ¶
func NewStreamable(t interface { mock.TestingT Cleanup(func()) }) *Streamable
NewStreamable creates a new instance of Streamable. 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 (*Streamable) Close ¶
func (_m *Streamable) Close()
Close provides a mock function with no fields
func (*Streamable) Fail ¶
func (_m *Streamable) Fail(_a0 error)
Fail provides a mock function with given fields: _a0
func (*Streamable) ID ¶
func (_m *Streamable) ID() string
ID provides a mock function with no fields
type Subscription ¶
Subscription is an autogenerated mock type for the Subscription type
func NewSubscription ¶
func NewSubscription(t interface { mock.TestingT Cleanup(func()) }) *Subscription
NewSubscription creates a new instance of Subscription. 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 (*Subscription) Channel ¶
func (_m *Subscription) Channel() <-chan interface{}
Channel provides a mock function with no fields
func (*Subscription) Err ¶
func (_m *Subscription) Err() error
Err provides a mock function with no fields
func (*Subscription) ID ¶
func (_m *Subscription) ID() string
ID provides a mock function with no fields