Documentation ¶
Overview ¶
Package payload implements structure to describe and handle container infrastructure and instruments
Index ¶
Constants ¶
View Source
const BaseUDPport = 16000
BaseUDPport port zero in the port range
Variables ¶
View Source
var ( // BaseIP is the same for everybody in the container: BaseIP = [...]byte{192, 168, 232} )
Functions ¶
This section is empty.
Types ¶
type Inst ¶
type Inst struct { ID int `yaml:"ID"` Name string `yaml:"Name"` Address net.IP `yaml:"Address"` // []byte UDPcfg UDPcfg // determined based on address in cnf file Class Class // int, defined by func FromYaml StateSet state.State // default state set: Idle StateIs state.State // default state is: undefined WarmUpAllowed bool `yaml:"WU_allowed"` // instrument-specific warm-up state OldMessFmt bool `yaml:"Old_mess"` // instrument-specific old message format }
Inst - a type to represent a component of the container's payload
Click to show internal directories.
Click to hide internal directories.