Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataResponse ¶
type DataResponse struct { Query *models.NOAAQuery URL string Metadata StationMeta `json:"metadata,omitempty"` Data []Datum `json:"data,omitempty"` Predictions []Datum `json:"predictions,omitempty"` Error ResponseError `json:"error,omitempty"` }
type NOAAClient ¶
type NOAAClient struct {
Client experimental.Client // https://api.tidesandcurrents.noaa.gov/api/prod/
}
func NewNOAAClient ¶
func NewNOAAClient() NOAAClient
type ResponseError ¶
type ResponseError struct {
Message string `json:"message,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.