buoyModel

package
v0.0.0-...-671e257 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2013 License: BSD-2-Clause-Views Imports: 1 Imported by: 0

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

type BuoyLocation

type BuoyLocation struct {
	Type        string    `bson:"type"`
	Coordinates []float64 `bson:"coordinates"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL