clientinterceptor

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamPropagateHeaderInterceptor

func StreamPropagateHeaderInterceptor(fields []string) grpc.StreamClientInterceptor

StreamPropagateHeaderInterceptor copy given fields from Incoming request into Outgoing request Empty array will make the interceptor copy all metadata in the context

func StreamTimeoutInterceptor

func StreamTimeoutInterceptor() grpc.StreamClientInterceptor

StreamTimeoutInterceptor monitor the DeadlineExceeded error and log it

func UnaryPropagateHeaderInterceptor

func UnaryPropagateHeaderInterceptor(fields []string) grpc.UnaryClientInterceptor

UnaryPropagateHeaderInterceptor copy given fields from Incoming request into Outgoing request Empty array will make the interceptor copy all metadata in the context

func UnaryTimeoutInterceptor

func UnaryTimeoutInterceptor() grpc.UnaryClientInterceptor

UnaryTimeoutInterceptor monitor the DeadlineExceeded error and log it

Types

This section is empty.

Jump to

Keyboard shortcuts

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