service

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadBalancer

type LoadBalancer interface {
	Collect(ctx context.Context, poolName string) ([]Pool, error)
}

type Origin

type Origin struct {
	Address      string
	Healthy      bool
	RTT          time.Duration
	ResponseCode int
}

type Pool

type Pool struct {
	Name       string
	PopHealths []PopHealth
}

type PopHealth

type PopHealth struct {
	Region  string
	Healthy bool
	Origins []Origin
}

Jump to

Keyboard shortcuts

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