Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
RedisClient is an autogenerated mock type for the RedisClient type
func NewRedisClient ¶
func NewRedisClient(t mockConstructorTestingTNewRedisClient) *RedisClient
NewRedisClient creates a new instance of RedisClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RedisClient) Close ¶
func (_m *RedisClient) Close() error
Close provides a mock function with given fields:
func (*RedisClient) Receive ¶
func (_m *RedisClient) Receive(topic string) (*types.MessageEnvelope, error)
Receive provides a mock function with given fields: topic
func (*RedisClient) Send ¶
func (_m *RedisClient) Send(topic string, message types.MessageEnvelope) error
Send provides a mock function with given fields: topic, message
func (*RedisClient) Subscribe ¶
func (_m *RedisClient) Subscribe(topic string) error
Subscribe provides a mock function with given fields: topic
func (*RedisClient) Unsubscribe ¶
func (_m *RedisClient) Unsubscribe(topic string)
Unsubscribe provides a mock function with given fields: topic
Click to show internal directories.
Click to hide internal directories.