package envconfig

import "google.golang.org/grpc/internal/envconfig"

Package envconfig contains grpc settings configured by environment variables.

Index

Variables

var (
	// Retry is set if retry is explicitly enabled via "GRPC_GO_RETRY=on" or if XDS retry support is enabled.
	Retry = strings.EqualFold(os.Getenv(retryStr), "on") || xdsenv.RetrySupport
	// TXTErrIgnore is set if TXT errors should be ignored ("GRPC_GO_IGNORE_TXT_ERRORS" is not "false").
	TXTErrIgnore = !strings.EqualFold(os.Getenv(txtErrIgnoreStr), "false")
)

Source Files

envconfig.go

Version
v1.42.0-dev
Published
Sep 21, 2021
Platform
windows/amd64
Imports
3 packages
Last checked
11 minutes ago

Tools for package owners.