Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLogLevel ¶ added in v18.1.0
Types ¶
type Factory ¶
type Factory struct {
LogLevel *slog.LevelVar
GRPCLogLevel *slog.LevelVar
Gatherer prometheus.Gatherer
Registerer prometheus.Registerer
ListenNetwork string
ListenAddress string
CertFile string
KeyFile string
}
func (*Factory) GetListenerFn ¶ added in v18.1.0
func (*Factory) IsProducingLeaderModules ¶
type Module ¶ added in v18.1.0
type Module[CM any] struct { Log *slog.Logger LogLevel *slog.LevelVar GRPCLogLevel *slog.LevelVar API modshared.API Gatherer prometheus.Gatherer Registerer prometheus.Registerer Listener func() (net.Listener, error) ServerName string CfgAccessor func(CM) *ModuleCfg DefaultAndValidateConfigurationCallback func(CM) error }
func (*Module[CM]) DefaultAndValidateConfiguration ¶ added in v18.1.0
Click to show internal directories.
Click to hide internal directories.