Documentation ¶
Index ¶
- func GetValidator() *validator.Validate
- func GoogleSREBreaker(breakers *breaker.BreakerGroup) grpc.UnaryClientInterceptor
- func LoggerForUnaryClient(config *config.ClientConfig) grpc.UnaryClientInterceptor
- func LoggerForUnaryServer(config *config.ServerConfig) grpc.UnaryServerInterceptor
- func Metric() grpc.UnaryServerInterceptor
- func RecoveryForUnaryClient(config *config.ClientConfig) grpc.UnaryClientInterceptor
- func RecoveryForUnaryServer(config *config.ServerConfig) grpc.UnaryServerInterceptor
- func SentinelForUnaryClient() grpc.UnaryClientInterceptor
- func SentinelForUnaryServer() grpc.UnaryServerInterceptor
- func TraceForUnaryClient() grpc.UnaryClientInterceptor
- func TraceForUnaryServer() grpc.UnaryServerInterceptor
- func ValidateForUnaryServer() grpc.UnaryServerInterceptor
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 Metric() grpc.UnaryServerInterceptor
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.
Click to show internal directories.
Click to hide internal directories.