Documentation
¶
Index ¶
- func NewAdjustOutgoingIOTagStreamClientInterceptor() grpc.StreamClientInterceptor
- func NewAdjustOutgoingIOTagUnaryClientInterceptor() grpc.UnaryClientInterceptor
- func NewMaxActiveRPCLimiterStreamServerInterceptor(getLimiter func() limiting.Limiter) grpc.StreamServerInterceptor
- func NewMaxActiveRPCLimiterUnaryServerInterceptor(getLimiter func() limiting.Limiter) grpc.UnaryServerInterceptor
- func NewSetCriticalIOTagUnaryServerInterceptor() grpc.UnaryServerInterceptor
- type IOTag
- type Limiter
- type ReleaseFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdjustOutgoingIOTagStreamClientInterceptor ¶
func NewAdjustOutgoingIOTagStreamClientInterceptor() grpc.StreamClientInterceptor
func NewAdjustOutgoingIOTagUnaryClientInterceptor ¶
func NewAdjustOutgoingIOTagUnaryClientInterceptor() grpc.UnaryClientInterceptor
func NewMaxActiveRPCLimiterStreamServerInterceptor ¶
func NewMaxActiveRPCLimiterStreamServerInterceptor(getLimiter func() limiting.Limiter) grpc.StreamServerInterceptor
func NewMaxActiveRPCLimiterUnaryServerInterceptor ¶
func NewMaxActiveRPCLimiterUnaryServerInterceptor(getLimiter func() limiting.Limiter) grpc.UnaryServerInterceptor
func NewSetCriticalIOTagUnaryServerInterceptor ¶
func NewSetCriticalIOTagUnaryServerInterceptor() grpc.UnaryServerInterceptor
Types ¶
type Limiter ¶
type Limiter interface {
ReadRequest(context.Context) (ReleaseFunc, error)
WriteRequest(context.Context) (ReleaseFunc, error)
Close()
}
func NewNoopLimiter ¶
func NewNoopLimiter() Limiter
type ReleaseFunc ¶
type ReleaseFunc scheduling.ReleaseFunc
Click to show internal directories.
Click to hide internal directories.