Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentVariableProvider ¶
type EnvironmentVariableProvider struct{}
func (EnvironmentVariableProvider) GetVariable ¶
func (p EnvironmentVariableProvider) GetVariable(name string) (string, error)
type Injector ¶
type Injector struct {
// contains filtered or unexported fields
}
func NewInjector ¶
func NewInjector(options ...InjectorOption) Injector
type InjectorOption ¶
type InjectorOption func(*Injector)
func WithVariableProvider ¶
func WithVariableProvider(provider VariableProvider) InjectorOption
type VariableProvider ¶
Click to show internal directories.
Click to hide internal directories.