Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientCreator ¶
type ClientCreator struct { Clients []*MockClient Configs []mqtt.Config }
ClientCreator provides a NewClient method for creating new MockClients. All configs and clients created are recorded.
type MockClient ¶
type MockClient struct { PublishData []PublishData // contains filtered or unexported fields }
func (*MockClient) Connect ¶
func (m *MockClient) Connect() error
func (*MockClient) Disconnect ¶
func (m *MockClient) Disconnect()
Click to show internal directories.
Click to hide internal directories.