Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsProcessClosed ¶
IsProcessClosed checks if the given os signal process is closed
Types ¶
type Config ¶
type Config struct {
Name string `env:"NAME"`
Host string `env:"HOST,notEmpty"`
Port int `env:"PORT,notEmpty"`
IsProduction bool `env:"PRODUCTION"`
GracefulShutDownTimeout time.Duration `env:"GRACEFUL_SHUTDOWN_TIMEOUT" envDefault:"60s"`
Logging logging.Config
Tracing tracing.Config
Recover recoverhandler.Config
Secure secure.Config
Acl acl.Config
}
Click to show internal directories.
Click to hide internal directories.