Versions in this module Expand all Collapse all v1 v1.1.5 Dec 22, 2023 v1.0.0 Dec 22, 2023 Changes in this version + const CertKeyPath + const CertPemPath + const CertServerName + const ConfigRootPath + const DefaultCertKeyFileName + const DefaultCertKeyPath + const DefaultCertPemFileName + const DefaultCertPemPath + const DefaultConfigRootPath + const DefaultGlobalFileName + const DefaultGlobalPath + const ServerName + const ServerPort + func NewFileRead() *fileRead + type ConfigCenter struct + func NewConfigCenter(serverName string) *ConfigCenter + func (c *ConfigCenter) GetCertKeyPath() (string, error) + func (c *ConfigCenter) GetCertPemPath() (string, error) + func (c *ConfigCenter) GetCertServerName() (string, error) + func (c *ConfigCenter) GetServerConfigPath() (string, error) + func (c *ConfigCenter) GetServerName() (string, error) + func (c *ConfigCenter) GetServerPort() (uint64, error) + func (c *ConfigCenter) MustGetCertKeyPath() string + func (c *ConfigCenter) MustGetCertPemPath() string + func (c *ConfigCenter) MustGetServerConfigPath() string + type ConfigCenterV2 struct + func NewConfigCenterV2(serverName string) *ConfigCenterV2 + func (c *ConfigCenterV2) GetCertKeyPath() (string, error) + func (c *ConfigCenterV2) GetCertPemPath() (string, error)