Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter interface { FromUp(*ttnpb.ApplicationUp) ([]byte, error) ToDownlinks([]byte) (*ttnpb.ApplicationDownlinks, error) ToDownlinkQueueRequest([]byte) (*ttnpb.DownlinkQueueRequest, error) }
Formatter formats upstream and downstream messages.
var JSON Formatter = &json{}
JSON is a formatter that uses JSON marshaling.
var Protobuf Formatter = &protobuf{}
Protobuf is a formatter that uses proto marshaling.
Click to show internal directories.
Click to hide internal directories.