Back to godoc.org
google.golang.org/grpc / internal / envconfig

package envconfig

v1.30.0
Latest Go to latest
Published: Jun 22, 2020 | License: Apache-2.0 | Module: google.golang.org/grpc

Overview

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".
	Retry = strings.EqualFold(os.Getenv(retryStr), "on")
	// TXTErrIgnore is set if TXT errors should be ignored ("GRPC_GO_IGNORE_TXT_ERRORS" is not "false").
	TXTErrIgnore = !strings.EqualFold(os.Getenv(txtErrIgnoreStr), "false")
)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier