package envconfig

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

Package envconfig contains grpc settings configured by environment variables.

Index

Variables

var (
	// Retry is enabled unless explicitly disabled via "GRPC_GO_RETRY=off" or
	// if XDS retry support is explicitly disabled.
	Retry = !strings.EqualFold(os.Getenv(retryStr), "off") && 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
Published
Nov 2, 2021
Platform
darwin/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.