Documentation
¶
Index ¶
- func NewApolloConfigSource(_, _ string) config.Source
- func NewConfigProvider(configType, configHost, configPath, configKey string) config.Config
- func NewConsulConfigSource(configHost, configKey string) config.Source
- func NewEtcdConfigSource(configHost, configKey string) config.Source
- func NewFileConfigSource(filePath string) config.Source
- func NewLoggerProvider(serviceInfo *ServiceInfo) log.Logger
- func NewNacosConfigSource(configAddr string, configPort uint64, configKey string) config.Source
- func NewRemoteConfigSource(configType, configHost, configKey string) config.Source
- func NewTracerProvider(endpoint, env string, serviceInfo *ServiceInfo) error
- type CommandFlags
- type ServiceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApolloConfigSource ¶
NewApolloConfigSource New Remote Config Source - Apollo
func NewConfigProvider ¶
NewConfigProvider New Config Provider
func NewConsulConfigSource ¶
NewConsulConfigSource New Remote Config Source - Consul
func NewEtcdConfigSource ¶
NewEtcdConfigSource New Remote Config Source - Etcd
func NewFileConfigSource ¶
NewFileConfigSource New File Config Source
func NewLoggerProvider ¶
func NewLoggerProvider(serviceInfo *ServiceInfo) log.Logger
func NewNacosConfigSource ¶
NewNacosConfigSource New Remote Config Source - Nacos
func NewRemoteConfigSource ¶
NewRemoteConfigSource New Remote Config Source
func NewTracerProvider ¶
func NewTracerProvider(endpoint, env string, serviceInfo *ServiceInfo) error
Types ¶
type CommandFlags ¶
func NewCommandFlags ¶
func NewCommandFlags() *CommandFlags
func (*CommandFlags) Init ¶
func (f *CommandFlags) Init()
type ServiceInfo ¶
func NewServiceInfo ¶
func NewServiceInfo(name, version, id string) ServiceInfo
func (*ServiceInfo) GetInstanceId ¶
func (s *ServiceInfo) GetInstanceId() string
func (*ServiceInfo) SetMataData ¶
func (s *ServiceInfo) SetMataData(k, v string)
Click to show internal directories.
Click to hide internal directories.