Documentation ¶
Overview ¶
BuoyModels contains the models for the buoy service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuoyCondition ¶
type BuoyCondition struct { WindSpeed float64 `bson:"wind_speed_milehour"` WindDirection int `bson:"wind_direction_degnorth"` WindGust float64 `bson:"gust_wind_speed_milehour"` }
BuoyCondition contains information for an individual station
func (*BuoyCondition) DisplayWindGust ¶
func (this *BuoyCondition) DisplayWindGust() string
func (*BuoyCondition) DisplayWindSpeed ¶
func (this *BuoyCondition) DisplayWindSpeed() string
type BuoyLocation ¶
BuoyLocation contains the buoys location
type BuoyStation ¶
type BuoyStation struct { ID bson.ObjectId `bson:"_id,omitempty"` StationId string `bson:"station_id"` Name string `bson:"name"` LocDesc string `bson:"location_desc"` Condition BuoyCondition `bson:"condition"` Location BuoyLocation `bson:"location"` }
BuoyStation contains information for an individual station
Click to show internal directories.
Click to hide internal directories.