Documentation ¶
Index ¶
- Constants
- func NewSource(opts ...Option) gconfig.Source
- type Option
- func WithAccessKey(accessKey string) Option
- func WithCacheDir(cacheDir string) Option
- func WithClient(client config_client.IConfigClient) Option
- func WithClusterName(clusterName string) Option
- func WithContext(ctx context.Context) Option
- func WithEndpoint(endpoint string) Option
- func WithGroupName(groupName string) Option
- func WithLogDir(logDir string) Option
- func WithLogLevel(logLevel string) Option
- func WithMode(mode gconfig.Mode) Option
- func WithNamespaceId(namespaceId string) Option
- func WithOpenKMS(openKMS bool) Option
- func WithPassword(password string) Option
- func WithRegionId(regionId string) Option
- func WithSecretKey(secretKey string) Option
- func WithTimeout(timeout time.Duration) Option
- func WithUrls(urls ...string) Option
- func WithUsername(username string) Option
- type Source
- func (s *Source) Close() error
- func (s *Source) Load(ctx context.Context, file ...string) ([]*gconfig.Configuration, error)
- func (s *Source) Name() string
- func (s *Source) Store(ctx context.Context, file string, content []byte) error
- func (s *Source) Watch(ctx context.Context) (gconfig.Watcher, error)
Constants ¶
View Source
const Name = "nacos"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.