Documentation ¶
Index ¶
Constants ¶
View Source
const ( InfoName = "GLOBAL INFO" //TODO: change to INFO BoardPrefix = "BOARD " )
View Source
const ( PacketTable = "Packets" MeasurementTable = "Measurements" Structures = "Structures" )
View Source
const ( Addresses = "addresses" Units = "units" Ports = "ports" BoardIds = "board_ids" MessageIds = "message_ids" BackendKey = "Backend" )
View Source
const TablePrefix = "[TABLE]"
Variables ¶
View Source
var ( PacketHeaders = []string{"ID", "Name", "Type"} MeasurementHeaders = []string{"ID", "Name", "Type", "PodUnits", "DisplayUnits", "SafeRange", "WarningRange"} )
Functions ¶
func FilterMap ¶
func FilterMap[K comparable, V any](myMap map[K]V, predicate func(key K, value V) bool) map[K]V
Types ¶
type Board ¶
type Board struct { Name string Packets []Packet Measurements []Measurement Structures []Structure }
type Measurement ¶
Click to show internal directories.
Click to hide internal directories.