Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct { Shutdown time.Duration `env:"SHUTDOWN_TIMEOUT" default:"5s" usage:"allows to set custom graceful shutdown timeout"` Ops web.OpsConfig `env:"OPS"` Logger logger.Config `env:"LOGGER"` Tracer tracer.Config `env:"TRACER"` }
Base contains base settings for go-bones modules. You can include it to your config file and use.
type Option ¶
type Option func(*config)
Option allows to set custom settings.
func WithEnvPath ¶
WithEnvPath allows to set environment file path.
Click to show internal directories.
Click to hide internal directories.