Documentation ¶
Index ¶
- type TestHandler
- func (t *TestHandler) Close() error
- func (t *TestHandler) DataDownChan() chan handler.DataDownPayload
- func (t *TestHandler) SendACKNotification(payload handler.ACKNotification) error
- func (t *TestHandler) SendDataUp(payload handler.DataUpPayload) error
- func (t *TestHandler) SendErrorNotification(payload handler.ErrorNotification) error
- func (t *TestHandler) SendJoinNotification(payload handler.JoinNotification) error
- func (t *TestHandler) SendLocationNotification(payload handler.LocationNotification) error
- func (t *TestHandler) SendStatusNotification(payload handler.StatusNotification) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestHandler ¶
type TestHandler struct { SendDataUpChan chan handler.DataUpPayload SendJoinNotificationChan chan handler.JoinNotification SendACKNotificationChan chan handler.ACKNotification SendErrorNotificationChan chan handler.ErrorNotification DataDownPayloadChan chan handler.DataDownPayload SendStatusNotificationChan chan handler.StatusNotification SendLocationNotificationChan chan handler.LocationNotification }
TestHandler implements a Handler for testing.
func (*TestHandler) DataDownChan ¶
func (t *TestHandler) DataDownChan() chan handler.DataDownPayload
DataDownChan method.
func (*TestHandler) SendACKNotification ¶
func (t *TestHandler) SendACKNotification(payload handler.ACKNotification) error
SendACKNotification method.
func (*TestHandler) SendDataUp ¶
func (t *TestHandler) SendDataUp(payload handler.DataUpPayload) error
SendDataUp method.
func (*TestHandler) SendErrorNotification ¶
func (t *TestHandler) SendErrorNotification(payload handler.ErrorNotification) error
SendErrorNotification method.
func (*TestHandler) SendJoinNotification ¶
func (t *TestHandler) SendJoinNotification(payload handler.JoinNotification) error
SendJoinNotification Method.
func (*TestHandler) SendLocationNotification ¶
func (t *TestHandler) SendLocationNotification(payload handler.LocationNotification) error
SendLocationNotification method.
func (*TestHandler) SendStatusNotification ¶
func (t *TestHandler) SendStatusNotification(payload handler.StatusNotification) error
SendStatusNotification method.
Click to show internal directories.
Click to hide internal directories.