Documentation
¶
Index ¶
- Constants
- func CacheFxOption() fx.Option
- func CacheTraceMiddlewareOption() fx.Option
- func ConfigFxOption(appconfstruct interface{}) fx.Option
- func CreateApplication(confStruct interface{}, HandlersFunc interface{}, ...)
- func CredentialsFxOption() fx.Option
- func DebugFxOption() fx.Option
- func LoggerFxOption() fx.Option
- func MonitoringFxOption() fx.Option
- func PrometheusHandler() gin.HandlerFunc
- func RunMethodWithTrace(c context.Context, serviceName, operationName string, ...) servicereply.ServiceReply
- func SessionFxOption() fx.Option
- func TracerFxOption() fx.Option
- func TransportFxOption(monolithConstructor ...interface{}) fx.Option
- func ValidationsFxOption() fx.Option
- type Tracer
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 ConfigFxOption ¶
func CreateApplication ¶
func CreateApplication(confStruct interface{}, HandlersFunc interface{}, monolithConstructor ...interface{})
func CredentialsFxOption ¶
func DebugFxOption ¶
func LoggerFxOption ¶
func MonitoringFxOption ¶
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 TracerFxOption ¶
func TransportFxOption ¶
func ValidationsFxOption ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.