Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthChecker ¶
func NewHealthChecker() grpchealth.Checker
Types ¶
type ServerConfig ¶
type ServerConfig struct {
GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT" default:"30s"`
}
func ServerConfigFromEnv ¶
func ServerConfigFromEnv() ServerConfig
Click to show internal directories.
Click to hide internal directories.