Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncidentRaw ¶
type Month ¶
type Month struct { Incidents []IncidentRaw `json:"incidents"` Year int `json:"year"` Month string `json:"name"` }
type PageStatus ¶
type PageStatus struct { Components []Component `json:"components"` Months []Month `json:"months"` }
Additional structs to capture the overall structure of the JSON
type StatusioProvider ¶
type StatusioProvider struct {
// contains filtered or unexported fields
}
func NewStatusioProvider ¶
func NewStatusioProvider(logger *zap.Logger, httpClient *http.Client) *StatusioProvider
func (*StatusioProvider) Name ¶
func (s *StatusioProvider) Name() string
func (*StatusioProvider) ScrapeStatusPageCurrent ¶
func (*StatusioProvider) ScrapeStatusPageHistorical ¶
Click to show internal directories.
Click to hide internal directories.