Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAwsSession ¶
Types ¶
type NWSApiResponse ¶
type NWSApiResponse struct {
Graph []NWSProduct `json:"@graph"`
}
type NWSProduct ¶
type NWSProduct struct { Id string `json:"id"` URL string `json:"@id"` WmoCollectiveID string `json:"wmoCollectiveId"` IssuingOffice string `json:"issuingOffice"` IssuanceTime time.Time `json:"issuanceTime"` ProductCode string `json:"productCode"` ProductName string `json:"productName"` ProductText string `json:"productText"` }
type NationalWeatherServiceClient ¶
type NationalWeatherServiceClient struct { }
func NewNationalWeatherServiceClient ¶
func NewNationalWeatherServiceClient() (*NationalWeatherServiceClient, error)
func (*NationalWeatherServiceClient) GetProductData ¶
func (s *NationalWeatherServiceClient) GetProductData(url string) ([]NWSProduct, error)
func (*NationalWeatherServiceClient) GetProductItem ¶
func (s *NationalWeatherServiceClient) GetProductItem(url string) (NWSProduct, error)
Click to show internal directories.
Click to hide internal directories.