Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWatcherStopped = errors.New("watcher stopped")
Functions ¶
func Init ¶
func Init(client config.ConfigService, cacheSize int)
func ReadConfig ¶
func ReadConfig(appName, clusterName, namespaceName string) (*config.ConfigResponse, error)
Types ¶
type Config ¶
func (*Config) ReadConfig ¶
func (c *Config) ReadConfig(appName, clusterName, namespaceName string) (*config.ConfigResponse, error)
Click to show internal directories.
Click to hide internal directories.