aggregate

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Servers []string

Functions

func Handler

func Handler(w nethttp.ResponseWriter, req *nethttp.Request)

Types

type AggregateCheck

type AggregateCheck struct {
	Type        string                       `json:"type"`
	Name        string                       `json:"name"`
	Description string                       `json:"description"`
	Statuses    map[string][]pkg.CheckStatus `json:"checkStatuses"`
}

type AggregateChecks

type AggregateChecks []AggregateCheck

func (AggregateChecks) Len

func (c AggregateChecks) Len() int

func (AggregateChecks) Less

func (c AggregateChecks) Less(i, j int) bool

func (AggregateChecks) Swap

func (c AggregateChecks) Swap(i, j int)

type Response

type Response struct {
	Checks  []AggregateCheck `json:"checks"`
	Servers []string         `json:"servers"`
}

Jump to

Keyboard shortcuts

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