Documentation ¶ Index ¶ Constants type Option func WithKeyFactory(factory func(s ...string) string) Option type Provider func New(opts ...Option) *Provider func (p *Provider) Name() string func (p *Provider) Value(_ context.Context, path ...string) (config.Value, error) Constants ¶ View Source const Name = "arg" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Option ¶ type Option func(*Provider) func WithKeyFactory ¶ func WithKeyFactory(factory func(s ...string) string) Option type Provider ¶ type Provider struct { // contains filtered or unexported fields } func New ¶ func New(opts ...Option) *Provider func (*Provider) Name ¶ func (p *Provider) Name() string func (*Provider) Value ¶ func (p *Provider) Value(_ context.Context, path ...string) (config.Value, error) Source Files ¶ View all Source files provider.go Click to show internal directories. Click to hide internal directories.