warnings

package module
v0.0.0-...-bc9ca23 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Raw

func Raw(wt string) string

func Types

func Types() string

Types

type Body

type Body struct {
	Type     string    `json:"type"`
	Warnings []Warning `json:"features"`
	Title    string    `json:"title"`
	Updated  time.Time `json:"updated"`
}

type Parameters

type Parameters struct {
	AWIPSidentifier []string `json:"AWIPSidentifier"`
	WMOidentifier   []string `json:"WMOidentifier"`
	NWSheadline     []string `json:"NWSheadline"`
}

type Properties

type Properties struct {
	Area        string      `json:"areaDesc,omitempty"`
	Effective   *time.Time  `json:"effective,omitempty"`
	Onset       *time.Time  `json:"onset,omitempty"`
	Expires     *time.Time  `json:"expires,omitempty"`
	Ends        *time.Time  `json:"ends,omitempty"`
	MessageType string      `json:"messageType,omitempty"`
	Severity    string      `json:"severity,omitempty"`
	Certainty   string      `json:"certainty,omitempty"`
	Urgency     string      `json:"urgency,omitempty"`
	Event       string      `json:"event,omitempty"`
	Sender      string      `json:"senderName,omitempty"`
	Headline    string      `json:"headline,omitempty"`
	Description string      `json:"description,omitempty"`
	Parameters  *Parameters `json:"parameters,omitempty"`
}

type Warning

type Warning struct {
	ID         string      `json:"id,omitempty"`
	Properties *Properties `json:"properties,omitempty"`
}

func All

func All(wt string) []Warning

func Latest

func Latest(wt string) Warning

Jump to

Keyboard shortcuts

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