Documentation ¶
Overview ¶
Package envconfig contains grpc settings configured by environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Retry is set if retry is explicitly enabled via "GRPC_GO_RETRY=on". Retry = strings.EqualFold(os.Getenv(retryStr), "on") // RequireHandshake is set based upon the GRPC_GO_REQUIRE_HANDSHAKE // environment variable. // // Will be removed after the 1.18 release. RequireHandshake = RequireHandshakeOn )
Functions ¶
This section is empty.
Types ¶
type RequireHandshakeSetting ¶ added in v1.17.0
type RequireHandshakeSetting int
RequireHandshakeSetting describes the settings for handshaking.
const ( // RequireHandshakeOn indicates to wait for handshake before considering a // connection ready/successful. RequireHandshakeOn RequireHandshakeSetting = iota // RequireHandshakeOff indicates to not wait for handshake before // considering a connection ready/successful. RequireHandshakeOff )
Click to show internal directories.
Click to hide internal directories.