bundler

package
v0.57.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 60 Imported by: 1

Documentation

Index

Constants

View Source
const ApiInterceptors = "apiInterceptors"
View Source
const ClientInterceptorsGroup = "clientInterceptors"
View Source
const CustomValidationsGroup = "customValidations"
View Source
const RouterInterceptors = "routerInterceptors"
View Source
const ServerDebugInterceptors = "serverDebugInterceptors"
View Source
const SystemHandlers = "systemHandlers"

Variables

This section is empty.

Functions

func CacheFxOption

func CacheFxOption() fx.Option

func CacheTraceMiddlewareOption

func CacheTraceMiddlewareOption() fx.Option

func ConfigFxOption

func ConfigFxOption(appconfstruct interface{}) fx.Option

func CreateApplication

func CreateApplication(confStruct interface{}, HandlersFunc interface{}, monolithConstructor ...interface{})

func CredentialsFxOption

func CredentialsFxOption() fx.Option

func DebugFxOption

func DebugFxOption() fx.Option

func LoggerFxOption

func LoggerFxOption() fx.Option

func MonitoringFxOption

func MonitoringFxOption() fx.Option

func PrometheusHandler

func PrometheusHandler() gin.HandlerFunc

func RunMethodWithTrace added in v0.44.0

func RunMethodWithTrace(c context.Context, serviceName, operationName string, tracer opentracing.Tracer, req interface{}, funcToRun func(con context.Context) (interface{}, servicereply.ServiceReply)) servicereply.ServiceReply

func SessionFxOption

func SessionFxOption() fx.Option

func TracerFxOption

func TracerFxOption() fx.Option

func TransportFxOption

func TransportFxOption(monolithConstructor ...interface{}) fx.Option

func ValidationsFxOption

func ValidationsFxOption() fx.Option

Types

type Tracer added in v0.45.0

type Tracer opentracing.Tracer

func JaegerBuilder

func JaegerBuilder(lc fx.Lifecycle, config configuration.Config, logger log.Logger) (opentracing.Tracer, Tracer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL