Versions in this module Expand all Collapse all v0 v0.0.1 Nov 26, 2023 Changes in this version + const ApolloDefaultAppId + const ApolloDefaultClientKey + const ApolloDefaultCluster + const ApolloDefaultConfigServerURL + const ApolloDefaultServerKey + const ApolloNameSpace + const CircuitBreakerConfigName + const JSON + const LimiterConfigName + const RetryConfigName + const RpcTimeoutConfigName + const YAML + var Close sync.Once + func GetUniqueID() int64 + func NewCustomApolloLogger() log.LoggerInterface + type Client interface + ClientConfigParam func(cpc *ConfigParamConfig) (ConfigParam, error) + DeregisterConfig func(ConfigParam, int64) error + RegisterConfigCallback func(ConfigParam, func(string, ConfigParser), int64) + ServerConfigParam func(cpc *ConfigParamConfig) (ConfigParam, error) + SetParser func(ConfigParser) + func NewClient(opts Options, optsfunc ...OptionFunc) (Client, error) + type ConfigContent string + type ConfigParam struct + Cluster string + Key string + Type ConfigType + type ConfigParamConfig struct + Category string + ClientServiceName string + ServerServiceName string + type ConfigParser interface + Decode func(kind ConfigType, data string, config interface{}) error + type ConfigType string + type CustomFunction func(*ConfigParam) + type OptionFunc func(option *Options) + func WithApolloOption(apolloOption ...agollo.Option) OptionFunc + type Options struct + ApolloOptions []agollo.Option + AppID string + ClientKeyFormat string + Cluster string + ConfigParser ConfigParser + ConfigServerURL string + ServerKeyFormat string