interceptors

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValidator

func GetValidator() *validator.Validate

GetValidator returns the underlying validator engine which powers the StructValidator implementation.

func GoogleSREBreaker

func GoogleSREBreaker(breakers *breaker.BreakerGroup) grpc.UnaryClientInterceptor

func LoggerForUnaryClient

func LoggerForUnaryClient(config *config.ClientConfig) grpc.UnaryClientInterceptor

func LoggerForUnaryServer

func LoggerForUnaryServer(config *config.ServerConfig) grpc.UnaryServerInterceptor

func Metric

func RecoveryForUnaryClient

func RecoveryForUnaryClient(config *config.ClientConfig) grpc.UnaryClientInterceptor

func RecoveryForUnaryServer

func RecoveryForUnaryServer(config *config.ServerConfig) grpc.UnaryServerInterceptor

func SentinelForUnaryClient

func SentinelForUnaryClient() grpc.UnaryClientInterceptor

SentinelForUnaryClient is client side sentinel

func SentinelForUnaryServer

func SentinelForUnaryServer() grpc.UnaryServerInterceptor

SentinelForUnaryServer is server side sentinel

func TraceForUnaryClient

func TraceForUnaryClient() grpc.UnaryClientInterceptor

func TraceForUnaryServer

func TraceForUnaryServer() grpc.UnaryServerInterceptor

func ValidateForUnaryServer

func ValidateForUnaryServer() grpc.UnaryServerInterceptor

validate request params

Types

This section is empty.

Jump to

Keyboard shortcuts

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