Help us shape the future of Go! Take the 2026 Go Developer Survey

constant

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPullInterval = 60 * time.Second
	DefaultPushInterval = 60 * time.Second
	// FinalPushTimeout bounds the traffic report sent while shutting down.
	FinalPushTimeout = 10 * time.Second
)

Variables

View Source
var DefaultBuildTags = []string{"with_acme", "with_utls", "with_quic"}

DefaultBuildTags are the tags every official build enables. Go has no way to make them the default for a plain `go build`, so builds without them are reported at startup.

View Source
var Version = "unknown"

Version is set at release build time with -ldflags "-X".

Functions

func BuildTags

func BuildTags() []string

func MissingDefaultBuildTags

func MissingDefaultBuildTags() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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