plain

package module
v0.0.0-...-b79fd58 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

README

No overload control Interceptor

This is a simple example of how to use the interceptor to track or log the requests and responses of your application. However, it does not have any overload control signal or actions. It is used to debug our application, and serve as a baseline for our experiments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnaryInterceptor

func UnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

func UnaryInterceptorClient

func UnaryInterceptorClient(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error

unaryInterceptor is an example unary interceptor.

func UnaryInterceptorEnduser

func UnaryInterceptorEnduser(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error

unaryInterceptor is an example unary interceptor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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