Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataMessage ¶
type DataMessage struct {
Type MessageType `json:"type"`
StationId uint64 `json:"station_id"`
Samples []DataSample `json:"samples"`
}
func NewDataMessage ¶
func NewDataMessage(stationId uint64, samples []DataSample) DataMessage
type DataSample ¶
type MessageType ¶
type MessageType int
const ( DataMessageType MessageType = iota NextWindowMessageType UpdateTleMessageType PipelineMessageType )
type NextWindowMessage ¶
type NextWindowMessage struct {
Type MessageType `json:"type"`
StationId uint64 `json:"station_id"`
SatelliteId uint64 `json:"satellite_id"`
Start time.Time `json:"start"`
End time.Time `json:"end"`
}
func NewNextWindowMessage ¶
func NewNextWindowMessage(stationId, satelliteId uint64, start, end time.Time) NextWindowMessage
type PipelineMessage ¶
type PipelineMessage struct {
Type MessageType `json:"type"`
SatelliteId uint64 `json:"satellite_id"`
Path string `json:"path"`
}
func NewPipelineMessage ¶
func NewPipelineMessage(satelliteId uint64, path string) PipelineMessage
type UpdateTleMessage ¶
type UpdateTleMessage struct {
Type MessageType `json:"type"`
SatelliteId uint64 `json:"satellite_id"`
Tle string `json:"tle"`
}
func NewUpdateTleMessage ¶
func NewUpdateTleMessage(satelliteId uint64, tle string) UpdateTleMessage
Click to show internal directories.
Click to hide internal directories.