timeoutlimit

package
v1.1.56 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamClientInterceptor

func StreamClientInterceptor(timeout time.Duration) grpc.StreamClientInterceptor

StreamClientInterceptor returns a new streaming client interceptor with timeout limit of handle. take effect if timeout > 0

func StreamServerInterceptor added in v1.1.28

func StreamServerInterceptor(timeout time.Duration) grpc.StreamServerInterceptor

StreamServerInterceptor returns a new stream server interceptors with timeout limit of handle. take effect if timeout > 0

func UnaryClientInterceptor

func UnaryClientInterceptor(timeout time.Duration) grpc.UnaryClientInterceptor

UnaryClientInterceptor returns a new unary client interceptor with timeout limit of handle. take effect if timeout > 0

func UnaryServerInterceptor

func UnaryServerInterceptor(timeout time.Duration) grpc.UnaryServerInterceptor

UnaryServerInterceptor returns a new unary server interceptors with timeout limit of handle. take effect if timeout > 0

Types

This section is empty.

Jump to

Keyboard shortcuts

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