backend

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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 Gateway

type Gateway interface {
	SendTXPacket(gw.TXPacket) error                       // send the given packet to the gateway
	SendGatewayConfigPacket(gw.GatewayConfigPacket) error // SendGatewayConfigPacket sends the given GatewayConfigPacket to the gateway.
	RXPacketChan() chan gw.RXPacket                       // channel containing the received packets
	StatsPacketChan() chan gw.GatewayStatsPacket          // channel containing the received gateway stats
	Close() error                                         // close the gateway backend.
}

Gateway is the interface of a gateway backend. A gateway backend is responsible for the communication with the gateway.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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