testhandler

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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
}

TestHandler implements a Handler for testing.

func NewTestHandler

func NewTestHandler() *TestHandler

func (*TestHandler) Close

func (t *TestHandler) Close() error

func (*TestHandler) DataDownChan

func (t *TestHandler) DataDownChan() chan handler.DataDownPayload

func (*TestHandler) SendACKNotification

func (t *TestHandler) SendACKNotification(payload handler.ACKNotification) error

func (*TestHandler) SendDataUp

func (t *TestHandler) SendDataUp(payload handler.DataUpPayload) error

func (*TestHandler) SendErrorNotification

func (t *TestHandler) SendErrorNotification(payload handler.ErrorNotification) error

func (*TestHandler) SendJoinNotification

func (t *TestHandler) SendJoinNotification(payload handler.JoinNotification) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL