gslg

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 9 Imported by: 0

README

gslg: gRPC Interceptor for gsl

godoc sec go-report license

A gsl gRPC interceptor.

API

  • Interceptor(logger gsl.Log): Creates a new gRPC interceptor with the given logger.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interceptor

func Interceptor(logger gsl.Log) func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

Interceptor will return a new gRPC interceptor for logging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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