Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRemoteProvider ¶
func DefaultRemoteProvider() *nacosRemoteProvider
func NewNacosConfigManager ¶
func SetOptions ¶
func SetOptions(option *Option)
Types ¶
type Auth ¶
type Auth struct { Enable bool `mapstructure:"enable"` User string `mapstructure:"username"` Password string `mapstructure:"password"` // ACM Endpoint Endpoint string `mapstructure:"endpoint"` // ACM RegionId RegionId string `mapstructure:"regionId"` // ACM AccessKey AccessKey string `mapstructure:"accessKey"` // ACM SecretKey SecretKey string `mapstructure:"secretKey"` // ACM OpenKMS OpenKMS bool `mapstructure:"openKMS"` }
type ViperRemoteProvider ¶
type ViperRemoteProvider struct {
// contains filtered or unexported fields
}
func NewRemoteProvider ¶
func NewRemoteProvider(configType string) *ViperRemoteProvider
func (*ViperRemoteProvider) GetProvider ¶
func (provider *ViperRemoteProvider) GetProvider(runtimeViper *viper.Viper) *viper.Viper
func (*ViperRemoteProvider) WatchRemoteConfigOnChannel ¶
func (provider *ViperRemoteProvider) WatchRemoteConfigOnChannel(remoteViper *viper.Viper) <-chan bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.