Versions in this module Expand all Collapse all v0 v0.0.2 Jan 24, 2025 Changes in this version + const Name + func NewSource(opts ...Option) gconfig.Source + type Option func(o *options) + func WithAddrs(addrs ...string) Option + func WithClient(client *clientv3.Client) Option + func WithDialTimeout(dialTimeout time.Duration) Option + func WithMode(mode gconfig.Mode) Option + func WithPath(path string) Option + type Source struct + 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)