Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventManagerMock ¶
type EventManagerMock struct { OnCount int EmitCount int RemoveCount int LastEvent events.EventName }
func (*EventManagerMock) Emit ¶
func (em *EventManagerMock) Emit(topic events.EventName)
func (*EventManagerMock) On ¶
func (em *EventManagerMock) On(topic events.EventName, handler events.EventHandler) events.RegistrationId
func (*EventManagerMock) Remove ¶
func (em *EventManagerMock) Remove(idToRemove events.RegistrationId)
type MessageMock ¶
func (*MessageMock) Ack ¶
func (m *MessageMock) Ack()
func (*MessageMock) Duplicate ¶
func (*MessageMock) Duplicate() bool
func (*MessageMock) MessageID ¶
func (*MessageMock) MessageID() uint16
func (*MessageMock) Payload ¶
func (m *MessageMock) Payload() []byte
func (*MessageMock) Qos ¶
func (*MessageMock) Qos() byte
func (*MessageMock) Retained ¶
func (*MessageMock) Retained() bool
func (*MessageMock) Topic ¶
func (m *MessageMock) Topic() string
Click to show internal directories.
Click to hide internal directories.