package
0.1.0
Repository: https://github.com/datumforge/go-template.git
Documentation: pkg.go.dev

# Functions

NewConfigProviderWithRefresh function is a constructor function that creates a new instance of ConfigProviderWithRefresh.

# Variables

DefaultConfigRefresh sets the default interval to refresh the config.
DefaultTLSConfig is the default TLS config used when HTTPS is enabled.

# Structs

Config contains the configuration settings.
ConfigProviderWithRefresh shows a config provider with automatic refresh; it contains fields and methods to manage the configuration, and refresh it periodically based on a specified interval.

# Interfaces

ConfigProvider serves as a common interface to read echo server configuration.