Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportViper ¶
func SupportViper() error
Types ¶
type NacosMgr ¶
type NacosMgr struct {
// contains filtered or unexported fields
}
var Manager *NacosMgr
func NewNacosMgr ¶
type NacosRemoteProvider ¶
type NacosRemoteProvider struct {
// contains filtered or unexported fields
}
func NewNacosRemoteProvider ¶
func NewNacosRemoteProvider(endpoint, path string) NacosRemoteProvider
func (NacosRemoteProvider) Endpoint ¶
func (rp NacosRemoteProvider) Endpoint() string
func (NacosRemoteProvider) Path ¶
func (rp NacosRemoteProvider) Path() string
func (NacosRemoteProvider) Provider ¶
func (rp NacosRemoteProvider) Provider() string
func (NacosRemoteProvider) SecretKeyring ¶
func (rp NacosRemoteProvider) SecretKeyring() string
type PathParsed ¶
type PathParsed struct { IsRelative bool Namespace string Group string DataID string Format string }
func (PathParsed) String ¶
func (p PathParsed) String() string
type RemoteConfigProvider ¶
type RemoteConfigProvider struct {
ConfigManager *NacosMgr
}
func (*RemoteConfigProvider) Get ¶
func (r *RemoteConfigProvider) Get(rp viper.RemoteProvider) (io.Reader, error)
func (*RemoteConfigProvider) Watch ¶
func (r *RemoteConfigProvider) Watch(rp viper.RemoteProvider) (io.Reader, error)
func (*RemoteConfigProvider) WatchChannel ¶
func (r *RemoteConfigProvider) WatchChannel(rp viper.RemoteProvider) (<-chan *viper.RemoteResponse, chan bool)
Click to show internal directories.
Click to hide internal directories.