Documentation
¶
Index ¶
- func CreateProdGribMessage(source string, messageType string, status string, datetime int64, ...) ([]byte, error)
- func CreateProductMessage(topic string, source string, sourceIP string, messageType string, ...) ([]byte, error)
- type GribProduction
- type MonitorMessage
- type MonitorMessageV2
- type ProbGribMessageDescription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProdGribMessage ¶
func CreateProductMessage ¶ added in v0.3.0
Types ¶
type GribProduction ¶ added in v0.2.0
type GribProduction struct { Offset string `json:"-"` Source string `json:"source"` MessageType string `json:"type"` Status int8 `json:"status"` DateTime time.Time `json:"datetime,omitempty"` FileName string `json:"fileName"` StartTime time.Time `json:"startTime,omitempty"` ForecastTime string `json:"forecastTime,omitempty"` }
type MonitorMessage ¶
type MonitorMessage struct { Source string `json:"source"` MessageType string `json:"type"` Status string `json:"status"` DateTime int64 `json:"datetime,omitempty"` FileName string `json:"fileName"` AbsoluteDataName string `json:"absoluteDataName,omitempty"` Description string `json:"desc,omitempty"` }
type MonitorMessageV2 ¶ added in v0.3.0
type MonitorMessageV2 struct { Topic string `json:"topic"` Source string `json:"source"` SourceIP string `json:"sourceIP"` MessageType string `json:"type"` PID string `json:"PID"` ID string `json:"ID"` DateTime string `json:"datetime,omitempty"` FileNames string `json:"fileNames"` AbsoluteDataName string `json:"absoluteDataName,omitempty"` FileSizes string `json:"fileSizes"` Result int8 `json:"result"` ResultDescription string `json:"resultDesc"` }
Click to show internal directories.
Click to hide internal directories.