Movatterモバイル変換


[0]ホーム

URL:


godebugs

packagestandard library
go1.25.5Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:0Imported by:0

Details

Repository

cs.opensource.google/go/go

Links

Documentation

Overview

Package godebugs provides a table of known GODEBUG settings,for use by a variety of other packages, including internal/godebug,runtime, runtime/metrics, and cmd/go/internal/load.

Index

Constants

This section is empty.

Variables

View Source
var All = []Info{{Name: "allowmultiplevcs", Package: "cmd/go"},{Name: "asynctimerchan", Package: "time", Changed: 23, Old: "1"},{Name: "containermaxprocs", Package: "runtime", Changed: 25, Old: "0"},{Name: "dataindependenttiming", Package: "crypto/subtle", Opaque:true},{Name: "decoratemappings", Package: "runtime", Opaque:true, Changed: 25, Old: "0"},{Name: "embedfollowsymlinks", Package: "cmd/go"},{Name: "execerrdot", Package: "os/exec"},{Name: "fips140", Package: "crypto/fips140", Opaque:true, Immutable:true},{Name: "gocachehash", Package: "cmd/go"},{Name: "gocachetest", Package: "cmd/go"},{Name: "gocacheverify", Package: "cmd/go"},{Name: "gotestjsonbuildtext", Package: "cmd/go", Changed: 24, Old: "1"},{Name: "gotypesalias", Package: "go/types", Changed: 23, Old: "0"},{Name: "http2client", Package: "net/http"},{Name: "http2debug", Package: "net/http", Opaque:true},{Name: "http2server", Package: "net/http"},{Name: "httpcookiemaxnum", Package: "net/http", Changed: 24, Old: "0"},{Name: "httplaxcontentlength", Package: "net/http", Changed: 22, Old: "1"},{Name: "httpmuxgo121", Package: "net/http", Changed: 22, Old: "1"},{Name: "httpservecontentkeepheaders", Package: "net/http", Changed: 23, Old: "1"},{Name: "installgoroot", Package: "go/build"},{Name: "jstmpllitinterp", Package: "html/template", Opaque:true},{Name: "multipartmaxheaders", Package: "mime/multipart"},{Name: "multipartmaxparts", Package: "mime/multipart"},{Name: "multipathtcp", Package: "net", Changed: 24, Old: "0"},{Name: "netdns", Package: "net", Opaque:true},{Name: "netedns0", Package: "net", Changed: 19, Old: "0"},{Name: "panicnil", Package: "runtime", Changed: 21, Old: "1"},{Name: "randautoseed", Package: "math/rand"},{Name: "randseednop", Package: "math/rand", Changed: 24, Old: "0"},{Name: "rsa1024min", Package: "crypto/rsa", Changed: 24, Old: "0"},{Name: "tarinsecurepath", Package: "archive/tar"},{Name: "tls10server", Package: "crypto/tls", Changed: 22, Old: "1"},{Name: "tls3des", Package: "crypto/tls", Changed: 23, Old: "1"},{Name: "tlsmaxrsasize", Package: "crypto/tls"},{Name: "tlsmlkem", Package: "crypto/tls", Changed: 24, Old: "0", Opaque:true},{Name: "tlsrsakex", Package: "crypto/tls", Changed: 22, Old: "1"},{Name: "tlssha1", Package: "crypto/tls", Changed: 25, Old: "1"},{Name: "tlsunsafeekm", Package: "crypto/tls", Changed: 22, Old: "1"},{Name: "updatemaxprocs", Package: "runtime", Changed: 25, Old: "0"},{Name: "winreadlinkvolume", Package: "os", Changed: 23, Old: "0"},{Name: "winsymlink", Package: "os", Changed: 23, Old: "0"},{Name: "x509keypairleaf", Package: "crypto/tls", Changed: 23, Old: "0"},{Name: "x509negativeserial", Package: "crypto/x509", Changed: 23, Old: "1"},{Name: "x509rsacrt", Package: "crypto/x509", Changed: 24, Old: "0"},{Name: "x509sha256skid", Package: "crypto/x509", Changed: 25, Old: "0"},{Name: "x509usefallbackroots", Package: "crypto/x509"},{Name: "x509usepolicies", Package: "crypto/x509", Changed: 24, Old: "0"},{Name: "zipinsecurepath", Package: "archive/zip"},}

All is the table of known settings, sorted by Name.

Note: After adding entries to this table, run 'go generate runtime/metrics'to update the runtime/metrics doc comment.(Otherwise the runtime/metrics test will fail.)

Note: After adding entries to this table, update the list in doc/godebug.md as well.(Otherwise the test in this package will fail.)

Functions

This section is empty.

Types

typeInfo

type Info struct {Namestring// name of the setting ("panicnil")Packagestring// package that uses the setting ("runtime")Changedint// minor version when default changed, if any; 21 means Go 1.21Oldstring// value that restores behavior prior to ChangedOpaquebool// setting does not export information to runtime/metrics using [internal/godebug.Setting.IncNonDefault]Immutablebool// setting cannot be changed after program start}

An Info describes a single known GODEBUG setting.

funcLookup

func Lookup(namestring) *Info

Lookup returns the Info with the given name.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp