config

package
v1.2.13-prerelease11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
	PollInterval        time.Duration `yaml:"pollInterval"`
	UpdateRetryAttempts int           `yaml:"updateRetryAttempts"`
	FetchTimeout        time.Duration `yaml:"FetchTimeout"`
	UpdateTimeout       time.Duration `yaml:"UpdateTimeout"`
}

ClientConfig is the config for the config store based dynamic config client. It specifies how often the cached config should be updated by checking underlying database.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL