kgrpc

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClientStreamInterceptor

func WithClientStreamInterceptor(k *keploy.Keploy) grpc.DialOption

WithClientStreamInterceptor function adds streaming interceptor to store its response as external dependencies. It should be called in grpc.Dial method.

app parameter is the pointer to app instance of API. It should not be nil.

TODO: Add support for bidirectional streaming.

func WithClientUnaryInterceptor

func WithClientUnaryInterceptor(k *keploy.Keploy) grpc.DialOption

WithClientUnaryInterceptor function adds unary client interceptor to store its response as external dependencies. It should be called in grpc.Dial method.

app parameter is the pointer to app instance of API. It should not be nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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