Documentation
¶
Index ¶
- type MessageClient
- func (_m *MessageClient) Connect() error
- func (_m *MessageClient) Disconnect() error
- func (_m *MessageClient) SetAuthData(secretProvider interfaces.SecretProvider) error
- func (_m *MessageClient) Subscribe(topics []string, handlerType interface{}) error
- func (_m *MessageClient) Unsubscribe(topics []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageClient ¶
MessageClient is an autogenerated mock type for the MessageClient type
func NewMessageClient ¶
func NewMessageClient(t interface {
mock.TestingT
Cleanup(func())
}) *MessageClient
NewMessageClient creates a new instance of MessageClient. 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 (*MessageClient) Connect ¶
func (_m *MessageClient) Connect() error
Connect provides a mock function with given fields:
func (*MessageClient) Disconnect ¶
func (_m *MessageClient) Disconnect() error
Disconnect provides a mock function with given fields:
func (*MessageClient) SetAuthData ¶
func (_m *MessageClient) SetAuthData(secretProvider interfaces.SecretProvider) error
SetAuthData provides a mock function with given fields: secretProvider
func (*MessageClient) Subscribe ¶
func (_m *MessageClient) Subscribe(topics []string, handlerType interface{}) error
Subscribe provides a mock function with given fields: topics, handlerType
func (*MessageClient) Unsubscribe ¶
func (_m *MessageClient) Unsubscribe(topics []string) error
Unsubscribe provides a mock function with given fields: topics
Click to show internal directories.
Click to hide internal directories.