Versions in this module Expand all Collapse all v0 v0.9.0 Sep 7, 2023 v0.8.0 Apr 17, 2023 Changes in this version + func Default(c *Config) + type Config struct + CtrlEndpoints []string + EtcdEndpoints []string + IP string + LeaderElectionConfig LeaderElectionConfig + MetadataConfig MetadataConfig + Name string + Observability observability.Config + Port int + Replicas uint + TimingWheelConfig TimingWheelConfig + func InitConfig(filename string) (*Config, error) + func (c *Config) GetLeaderElectionConfig() *leaderelection.Config + func (c *Config) GetTimingWheelConfig() *timingwheel.Config + type LeaderElectionConfig struct + LeaseDuration int64 + type MetadataConfig struct + KeyPrefix string + type TimingWheelConfig struct + Layers int64 + Tick int64 + WheelSize int64