Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalDownlinkFrame ¶
func MarshalDownlinkFrame(t Type, df gw.DownlinkFrame) ([]byte, error)
MarshalDownlinkFrame marshals the given DownlinkFrame.
func MarshalGatewayConfiguration ¶
func MarshalGatewayConfiguration(t Type, gc gw.GatewayConfiguration) ([]byte, error)
MarshalGatewayConfiguration marshals the GatewayConfiguration.
Types ¶
type Type ¶
type Type int
Type defines the marshaler type.
func UnmarshalDownlinkTXAck ¶
func UnmarshalDownlinkTXAck(b []byte, ack *gw.DownlinkTXAck) (Type, error)
UnmarshalDownlinkTXAck unmarshals a DownlinkTXAck.
func UnmarshalGatewayStats ¶
func UnmarshalGatewayStats(b []byte, stats *gw.GatewayStats) (Type, error)
UnmarshalGatewayStats unmarshals an GatewayStats.
func UnmarshalUplinkFrame ¶
func UnmarshalUplinkFrame(b []byte, uf *gw.UplinkFrame) (Type, error)
UnmarshalUplinkFrame unmarshals an UplinkFrame.
Click to show internal directories.
Click to hide internal directories.