Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Module for fx. Module = fx.Options( fx.Provide(opentracing.NewTracer), fx.Provide(NewConfigurator), ) )
Functions ¶
func NewConfigurator ¶
func NewConfigurator(params ConfiguratorParams) configurator.Configurator
NewConfigurator for source.
Types ¶
type Config ¶
type Config struct { Type string `yaml:"type"` Git git.Config `yaml:"git"` Folder folder.Config `yaml:"folder"` }
Config for source.
type ConfiguratorParams ¶ added in v1.16.0
type ConfiguratorParams struct { fx.In Config *Config Tracer opentracing.Tracer }
ConfiguratorParams for source.
Click to show internal directories.
Click to hide internal directories.