Documentation ¶ Index ¶ func New(opts ...Option) config.Source type Configure type Option func WithAddr(addr string) Option func WithContext(context context.Context) Option func WithServer(server string) Option func WithToken(token string) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opts ...Option) config.Source Types ¶ type Configure ¶ type Configure struct { Data string Version string } type Option ¶ type Option func(o *options) func WithAddr ¶ added in v1.0.11 func WithAddr(addr string) Option func WithContext ¶ func WithContext(context context.Context) Option func WithServer ¶ added in v1.0.11 func WithServer(server string) Option func WithToken ¶ added in v1.0.11 func WithToken(token string) Option Source Files ¶ View all Source files config.go watcher.go Click to show internal directories. Click to hide internal directories.