Documentation ¶
Overview ¶
Package mocks contains mocks for testing purposes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventStore ¶
func NewEventStore() events.EventStore
func NewPublisher ¶
NewPublisher returns mock message publisher.
Types ¶
type MockEventStore ¶
type MockEventStore struct{}
func (MockEventStore) Connect ¶
func (es MockEventStore) Connect(ctx context.Context, clientID string) error
func (MockEventStore) Disconnect ¶
func (es MockEventStore) Disconnect(ctx context.Context, clientID string) error
type MockPublisher ¶
type MockPublisher struct{}
func (MockPublisher) Close ¶
func (pub MockPublisher) Close() error
Click to show internal directories.
Click to hide internal directories.