Documentation ¶
Index ¶
Constants ¶
View Source
const WINDOWS = "windows"
Variables ¶
View Source
var PathSeparator string
Functions ¶
This section is empty.
Types ¶
type ApolloClient ¶
type ApolloClient struct { ClusterName string Server string AppID string ReleaseKey string IP string // contains filtered or unexported fields }
func NewApolloClient ¶
func NewApolloClient(address string, clusterName string, appId string) *ApolloClient
func (*ApolloClient) AddConfig ¶
func (p *ApolloClient) AddConfig(configFiles []ConfigFile) (err error)
增加监听配置文件修改
func (*ApolloClient) GetConfig ¶
func (p *ApolloClient) GetConfig(nameSpace string) (content string, err error)
func (*ApolloClient) Start ¶
func (p *ApolloClient) Start() (err error)
func (*ApolloClient) Stop ¶
func (p *ApolloClient) Stop()
type ConfigFile ¶
type Notification ¶
Click to show internal directories.
Click to hide internal directories.