Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateClientCertificate ¶
GenerateClientCertificate returns a client-certificate for the given gateway ID.
func UpdateMetaDataInRXPacket ¶
func UpdateMetaDataInRXPacket(ctx context.Context, db sqlx.Queryer, rxPacket *models.RXPacket) error
UpdateMetaDataInRXPacket updates the gateway meta-data in the given RXPacket. It will:
- add the gateway location
- set the FPGA id if available
- decrypt the fine-timestamp (if available and AES key is set)
Types ¶
type StatsHandler ¶
type StatsHandler struct {
// contains filtered or unexported fields
}
StatsHandler represents a stat handler for incoming gateway stats.
func (*StatsHandler) Stop ¶
func (s *StatsHandler) Stop() error
Stop waits for the stats handler to complete the pending packets. At this stage the gateway backend must already been closed.
Click to show internal directories.
Click to hide internal directories.