Documentation
¶
Index ¶
- func StreamServerRecoveryInterceptor(h RecoveryHandlerContextFunc) grpc.StreamServerInterceptor
- func StreamServerThrottleInterceptor(h ThrottleHandlerFunc) grpc.StreamServerInterceptor
- func UnaryServerRecoveryInterceptor(h RecoveryHandlerContextFunc) grpc.UnaryServerInterceptor
- func UnaryServerThrottleInterceptor(h ThrottleHandlerFunc) grpc.UnaryServerInterceptor
- type RecoveryHandlerContextFunc
- type ThrottleHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerRecoveryInterceptor ¶
func StreamServerRecoveryInterceptor(h RecoveryHandlerContextFunc) grpc.StreamServerInterceptor
func StreamServerThrottleInterceptor ¶
func StreamServerThrottleInterceptor(h ThrottleHandlerFunc) grpc.StreamServerInterceptor
func UnaryServerRecoveryInterceptor ¶
func UnaryServerRecoveryInterceptor(h RecoveryHandlerContextFunc) grpc.UnaryServerInterceptor
func UnaryServerThrottleInterceptor ¶
func UnaryServerThrottleInterceptor(h ThrottleHandlerFunc) grpc.UnaryServerInterceptor
Types ¶
type ThrottleHandlerFunc ¶
type ThrottleHandlerFunc func() bool
Click to show internal directories.
Click to hide internal directories.