Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActiveIncidentServer ¶
Types ¶
type ActiveIncidentEntry ¶
type ActiveIncidentEntry struct { MainWebPage string `json:"mainWebPage" bson:"mainWebPage"` IncidentWebPages []IncidentWebPage Incidents []Incident Message string `json:"message" bson:"message"` TimeStamp time.Time `json:"date" bson:"date"` }
ActiveIncidentEntry represents the message object returned in the API.
type Incident ¶
type Incident struct { IncidentNo string `json:"incidentNo" bson:"incidentNo"` IncidentType string `json:"incidentType" bson:"incidentType"` IncidentSubTupe string `json:"incidentSubType" bson:"incidentSubType"` Location string `json:"location" bson:"location"` Municipality string `json:"municipality" bson:"municipality"` DispatchTime string `json:"dispatchTime" bson:"dispatchTime"` Station string `json:"station" bson:"station"` IncidentStatus []IncidentStatus }
type IncidentStatus ¶
type IncidentWebPage ¶
type IncidentWebPage struct {
Page string `json:"incidentPage" bson:"incidentPage"`
}
Click to show internal directories.
Click to hide internal directories.