groups

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 2 Imported by: 14

Documentation

Index

Constants

View Source
const (
	// RESTClientInterceptors - REST Client Interceptors group. This group will help you configure Mortar default REST Client builder
	RESTClientInterceptors = partial.FxGroupRESTClientInterceptors

	// GRPCUnaryClientInterceptors - GRPC Unary Client Interceptors group. This group will help you configure Mortar default GRPC Client builder
	GRPCUnaryClientInterceptors = partial.FxGroupGRPCUnaryClientInterceptors

	// GRPCServerAPIs - Mortar GRPC Service APIs group. This group is responsible on registering your gRPC server implementation
	GRPCServerAPIs = partial.FxGroupGRPCServerAPIs

	// GRPCGatewayGeneratedHandlers - GRPC Gateway generated handlers group. This group is responsible on registering your reverse-proxy over gRPC
	GRPCGatewayGeneratedHandlers = partial.FxGroupGRPCGatewayGeneratedHandlers

	// GRPCGatewayMuxOptions - GRPC Gateway Mux Options group. Use this group if you want to provide different GRPC-GW Mux options
	// https://grpc-ecosystem.github.io/grpc-gateway/docs/customizingyourgateway.html
	GRPCGatewayMuxOptions = partial.FxGroupGRPCGatewayMuxOptions

	// ExternalHTTPHandlers - External Http Handlers group, add your custom external HTTP Handlers
	ExternalHTTPHandlers = partial.FxGroupExternalHTTPHandlers

	// ExternalHTTPHandlerFunctions - External Http Handlers function group, add your custom external HTTP Handler Functions
	ExternalHTTPHandlerFunctions = partial.FxGroupExternalHTTPHandlerFunctions

	// ExternalHTTPInterceptors - External Http Interceptors group, add your custom external HTTP interceptors
	ExternalHTTPInterceptors = partial.FxGroupExternalHTTPInterceptors

	// UnaryServerInterceptors - GRPC Unary Server Interceptors group. Register different gRPC server interceptors
	UnaryServerInterceptors = partial.FxGroupUnaryServerInterceptors

	// InternalHTTPHandlers - Internal Http Handlers group. Mortar comes with several internal handlers, you can add yours.
	InternalHTTPHandlers = partial.FxGroupInternalHTTPHandlers

	//InternalHTTPHandlerFunctions - Internal Http Handler Functions group. Similar toInternalHttpHandlers but for functions
	InternalHTTPHandlerFunctions = partial.FxGroupInternalHTTPHandlerFunctions

	// InternalHTTPInterceptors - Internal Http Interceptors group, add your custom external HTTP interceptors
	InternalHTTPInterceptors = partial.FxGroupInternalHTTPInterceptors

	// LoggerContextExtractors -  Default Logger Context extractors group. Add custom extractors to enrich your logs from context.Context
	LoggerContextExtractors = constructors.FxGroupLoggerContextExtractors

	// MonitorContextExtractors - Monitor Context extractors group. Add different tags from context to each metric
	MonitorContextExtractors = constructors.FxGroupMonitorContextExtractors
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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