Documentation
¶
Index ¶
- Variables
- func NewConfiguration(v *viper.Viper) (*config.Configuration, error)
- func NewJaegerTracer(ctx context.Context, cfg *config.Configuration) (opentracing.Tracer, error)
- func NewJaegerTracerWithOption(ctx context.Context, cfg *config.Configuration, opt ...config.Option) (opentracing.Tracer, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProviderSet = wire.NewSet(NewConfiguration, NewJaegerTracer) ProviderSetWithOption = wire.NewSet(NewConfiguration, NewJaegerTracerWithOption) )
ProviderSet
Functions ¶
func NewConfiguration ¶
func NewConfiguration(v *viper.Viper) (*config.Configuration, error)
NewConfiguration
func NewJaegerTracer ¶
func NewJaegerTracer(ctx context.Context, cfg *config.Configuration) (opentracing.Tracer, error)
NewJaegerTracer NewJaegerTracer for current service
func NewJaegerTracerWithOption ¶ added in v0.0.6
func NewJaegerTracerWithOption(ctx context.Context, cfg *config.Configuration, opt ...config.Option) (opentracing.Tracer, error)
NewJaegerTracerWithOption
Types ¶
Click to show internal directories.
Click to hide internal directories.