Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DialTimeout = 5 * time.Second
)
Functions ¶
This section is empty.
Types ¶
type ConfigClient ¶
func GetInstance ¶
func GetInstance() *ConfigClient
func Init ¶
func Init(param *ConfigInitParam) (*ConfigClient, error)
func (*ConfigClient) CloseConfig ¶
func (configClient *ConfigClient) CloseConfig()
func (*ConfigClient) Get ¶
func (configClient *ConfigClient) Get(key string, OType interface{}) (interface{}, error)
type ConfigInitParam ¶
Click to show internal directories.
Click to hide internal directories.