interceptor

package
v0.0.0-...-8960aa7 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggingStreamForClient

func LoggingStreamForClient(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error)

LoggingStreamForClient performs streaming RPC client-side logging.

func LoggingStreamForServer

func LoggingStreamForServer(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

LoggingStreamForServer performs streaming RPC server-side logging.

func LoggingUnaryForClient

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

LoggingUnaryForClient logs Unary RPC client side.

func LoggingUnaryForServer

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

LoggingUnaryForServer logs Unary RPC server side.

Types

This section is empty.

Jump to

Keyboard shortcuts

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