Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface { // Stop closes the backend. Stop() error // Start starts the backend. Start() error // SetDownlinkTxAckFunc sets the DownlinkTXAck handler func. SetDownlinkTxAckFunc(func(*gw.DownlinkTxAck)) // SetGatewayStatsFunc sets the GatewayStats handler func. SetGatewayStatsFunc(func(*gw.GatewayStats)) // SetUplinkFrameFunc sets the UplinkFrame handler func. SetUplinkFrameFunc(func(*gw.UplinkFrame)) // SetRawPacketForwarderEventFunc sets the RawPacketForwarderEvent handler func. SetRawPacketForwarderEventFunc(func(*gw.RawPacketForwarderEvent)) // SetSubscribeEventFunc sets the Subscribe handler func. SetSubscribeEventFunc(func(events.Subscribe)) // SendDownlinkFrame sends the given downlink frame. SendDownlinkFrame(*gw.DownlinkFrame) error // ApplyConfiguration applies the given configuration to the gateway. ApplyConfiguration(*gw.GatewayConfiguration) error // RawPacketForwarderCommand sends the given raw command to the packet-forwarder. RawPacketForwarderCommand(*gw.RawPacketForwarderCommand) error }
Backend defines the interface that a backend must implement
Click to show internal directories.
Click to hide internal directories.