Documentation ¶
Index ¶
- func AuthFxOptions() fx.Option
- func ExchangeFxOptions() fx.Option
- func HttpClientFxOptions() fx.Option
- func HttpServerFxOptions() fx.Option
- func InternalHttpHandlersFxOptions() fx.Option
- func JaegerBuilder(lc fx.Lifecycle, config cfg.Config, logger log.Logger) (opentracing.Tracer, error)
- func LoggerFxOption() fx.Option
- func MongoFxOptions() fx.Option
- func PrometheusBuilder(cfg cfg.Config) monitor.Builder
- func PrometheusFxOption() fx.Option
- func ServiceAPIsAndOtherDependenciesFxOption() fx.Option
- func TemporalFxOptions() fx.Option
- func TracerFxOption() fx.Option
- func ViperFxOption(configFilePath string, additionalFilePaths ...string) fx.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthFxOptions ¶
func ExchangeFxOptions ¶
func HttpClientFxOptions ¶
func HttpServerFxOptions ¶
func InternalHttpHandlersFxOptions ¶
These will help you to debug/profile or understand the internals of your service
func JaegerBuilder ¶
func JaegerBuilder(lc fx.Lifecycle, config cfg.Config, logger log.Logger) (opentracing.Tracer, error)
JaegerBuilder constructor assumes you have JAEGER environment variables set
https://github.com/jaegertracing/jaeger-client-go#environment-variables
Once built it will register Lifecycle hooks (connect on start, close on stop)
func LoggerFxOption ¶
func MongoFxOptions ¶
func PrometheusBuilder ¶
PrometheusBuilder returns a monitor.Builder that is implemented by Prometheus
func PrometheusFxOption ¶
PrometheusFxOption registers prometheus
func TemporalFxOptions ¶
func TracerFxOption ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.