Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { MaxSize uint64 `json:"maxSize"` UsedSize uint64 `json:"usedSize"` InBytes uint64 `json:"inBytes"` OutBytes uint64 `json:"outBytes"` Responses struct { Miss uint64 `json:"miss"` Bypass uint64 `json:"bypass"` Expired uint64 `json:"expired"` Stale uint64 `json:"stale"` Updating uint64 `json:"updating"` Revalidated uint64 `json:"revalidated"` Hit uint64 `json:"hit"` Scarce uint64 `json:"scarce"` } `json:"responses"` }
type NginxVTS ¶
type NginxVTS struct { Urls []string ResponseTimeout internal.Duration // contains filtered or unexported fields }
func (*NginxVTS) Description ¶
func (*NginxVTS) SampleConfig ¶
type NginxVTSResponse ¶
type NginxVTSResponse struct { Connections struct { Active uint64 `json:"active"` Reading uint64 `json:"reading"` Writing uint64 `json:"writing"` Waiting uint64 `json:"waiting"` Accepted uint64 `json:"accepted"` Handled uint64 `json:"handled"` Requests uint64 `json:"requests"` } `json:"connections"` ServerZones map[string]Server `json:"serverZones"` FilterZones map[string]map[string]Server `json:"filterZones"` UpstreamZones map[string][]Upstream `json:"upstreamZones"` CacheZones map[string]Cache `json:"cacheZones"` }
type Server ¶
type Server struct { RequestCounter uint64 `json:"requestCounter"` InBytes uint64 `json:"inBytes"` OutBytes uint64 `json:"outBytes"` RequestMsec uint64 `json:"requestMsec"` Responses struct { OneXx uint64 `json:"1xx"` TwoXx uint64 `json:"2xx"` ThreeXx uint64 `json:"3xx"` FourXx uint64 `json:"4xx"` FiveXx uint64 `json:"5xx"` Miss uint64 `json:"miss"` Bypass uint64 `json:"bypass"` Expired uint64 `json:"expired"` Stale uint64 `json:"stale"` Updating uint64 `json:"updating"` Revalidated uint64 `json:"revalidated"` Hit uint64 `json:"hit"` Scarce uint64 `json:"scarce"` } `json:"responses"` }
type Upstream ¶
type Upstream struct { Server string `json:"server"` RequestCounter uint64 `json:"requestCounter"` InBytes uint64 `json:"inBytes"` OutBytes uint64 `json:"outBytes"` Responses struct { OneXx uint64 `json:"1xx"` TwoXx uint64 `json:"2xx"` ThreeXx uint64 `json:"3xx"` FourXx uint64 `json:"4xx"` FiveXx uint64 `json:"5xx"` } `json:"responses"` ResponseMsec uint64 `json:"responseMsec"` RequestMsec uint64 `json:"requestMsec"` Weight uint64 `json:"weight"` MaxFails uint64 `json:"maxFails"` FailTimeout uint64 `json:"failTimeout"` Backup bool `json:"backup"` Down bool `json:"down"` }
Click to show internal directories.
Click to hide internal directories.