package main
Import Path
golang.org/x/pkgsite/cmd/prober (on go.dev)
Dependency Relation
imports 19 packages, and imported by 0 packages
Involved Source Files
The prober hits the frontend with a fixed set of URLs.
It is designed to be run periodically and to export
metrics for altering and performance tracking.
Package-Level Type Names (total 2, both are exported)
A Probe represents a single HTTP GET request.
Whether or not to set a header that causes the frontend to skip the redis
cache.
A short, stable name for the probe.
Since it is used in metrics, it shouldn't be too long and
should stay the same even if actual URL changes.
The part of the URL after the host:port.
func runProbe(ctx context.Context, p *Probe) *ProbeStatus
Package-Level Functions (total 6, none are exported)
Package-Level Variables (total 13, none are exported)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |