Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Poller = period.NewPoller("uptime", getStatuses, aggregateStatuses)
Functions ¶
This section is empty.
Types ¶
type Aggregated ¶
func (Aggregated) MarshalJSON ¶
func (result Aggregated) MarshalJSON() ([]byte, error)
type RouteStatuses ¶
type Status ¶
type Status struct {
Status health.Status `json:"status"`
Latency int64 `json:"latency"`
Timestamp int64 `json:"timestamp"`
}
func (*Status) MarshalJSON ¶ added in v0.11.0
type StatusByAlias ¶
type StatusByAlias struct {
Map map[string]*routes.HealthInfoRaw `json:"statuses"`
Timestamp int64 `json:"timestamp"`
}
Click to show internal directories.
Click to hide internal directories.