grpc: google.golang.org/grpc/internal/envconfig Index | Files

package envconfig

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

Package envconfig contains grpc settings configured by environment variables.

Index

Package Files

envconfig.go

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

Package envconfig imports 2 packages (graph) and is imported by 3 packages. Updated 2020-04-19. Refresh now. Tools for package owners.