config

package
v0.0.0-...-e7538a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DisableHealthLog      bool  `envconfig:"DISABLE_HEALTH_LOG" default:"false"`
	ShutdownDelaySeconds  int64 `envconfig:"SHUTDOWN_DELAY_SECONDS" default:"0"`
	ReadinessDelaySeconds int64 `envconfig:"READINESS_DELAY_SECONDS" default:"0"`
	LivenessDelaySeconds  int64 `envconfig:"LIVENESS_DELAY_SECONDS" default:"0"`
}

func GetConfig

func GetConfig() (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL