Documentation ¶
Index ¶
- func New(ctx context.Context, appID, ip, cluster string, namespaces []string, ...) (err error)
- func SetBackupFileHandler(f file.FileHandler)
- func SetCacheFactory(f agcache.CacheFactory)
- func SetLoadBalance(l cluster.LoadBalance)
- func SetLogger(l log.LoggerInterface)
- func SetSignature(a auth.HTTPAuth)
- type ApolloClient
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetBackupFileHandler ¶
func SetBackupFileHandler(f file.FileHandler)
SetBackupFileHandler set custom backup file handler
func SetCacheFactory ¶
func SetCacheFactory(f agcache.CacheFactory)
SetCache set custom cache factory
func SetLoadBalance ¶
func SetLoadBalance(l cluster.LoadBalance)
SetLoadBalance set custom load balance
Types ¶
type ApolloClient ¶
type ApolloClient struct {
// contains filtered or unexported fields
}
type Option ¶
type Option func(*ApolloClient)
func WithBackupConfigPath ¶
func WithCustomListeners ¶
func WithIsBackupConfig ¶
func WithSecret ¶
func WithSyncServerTimeout ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.