Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Module is the fx module for winterfx Module = fx.Module( "winterfx", flagfx.Module, probefx.Module, otelfx.Module, fx.Provide( flagfx.AsDecoderFunc(DecodeParams), New, ), ) )
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
// Listen listen address
Listen string
// PathReadiness readiness check path
PathReadiness string
// PathLiveness liveness path
PathLiveness string
// PathMetrics metrics path
PathMetrics string
// DelayStart delay start
DelayStart time.Duration
// DelayStop delay stop
DelayStop time.Duration
}
Params params
func DecodeParams ¶
DecodeParams create Params from flag.FlagSet
Click to show internal directories.
Click to hide internal directories.