envconfig

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package envconfig contains grpc settings configured by environment variables.

Index

Constants

This section is empty.

Variables

View Source
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")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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