grpc: Index | Files

package envconfig

import ""

Package envconfig contains grpc settings configured by environment variables.


Package Files



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.