crstats

package
v6.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 17 Imported by: 4

Documentation

Index

Constants

View Source
const (
	RouterProxyParameter = "tm.traffic_rtr_fwd_proxy"
	RouterRequestTimeout = time.Second * 10
	RouterOnlineStatus   = "ONLINE"
	HTTP                 = "HTTP"
	DNS                  = "DNS"
)

Variables

This section is empty.

Functions

func GetCDNRouting

func GetCDNRouting(w http.ResponseWriter, r *http.Request)

GetCDNRouting is the handler for getting aggregated routing percentages across CDNs.

func GetDSRouting

func GetDSRouting(w http.ResponseWriter, r *http.Request)

GetDSRouting is the handler for getting aggregated routing percentages for a DS.

Types

type RouterData

type RouterData struct {
	StatTotal tc.CRSStatsStat
	Total     uint64
}

type RouterResp

type RouterResp struct {
	Error error
	Stats tc.CRSStats
}

Jump to

Keyboard shortcuts

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