Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func (*Application) NewRouter ¶
func (app *Application) NewRouter() *http.ServeMux
type Station ¶
type Station struct { Watchdog Watchdog Weather *Weather // contains filtered or unexported fields }
func (*Station) UpdateWatchDog ¶
type Weather ¶
type Weather struct { StationID string `json:"station_id"` Temperature decimal.Decimal `json:"temperature"` DewPoint decimal.Decimal `json:"dew_point"` Humidity int `json:"humidity"` Pressure decimal.Decimal `json:"pressure"` Wind Wind `json:"wind"` Rain Rain `json:"rain"` Solar Solar `json:"solar"` Indoor Indoor `json:"indoor"` UpdatedAt time.Time `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.