grpc_loginterceptor

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRequestIDPrefix = "req-"
	DefaultRequestIDKey    = "gl-request-id"
	DefaultRequestBeginKey = "gl-request-begin"
)

Functions

func NewAccessLoggerInterceptor

func NewAccessLoggerInterceptor(logWriter io.Writer) grpc.UnaryServerInterceptor

func NewAccessLoggerInterceptorWithLogger added in v0.0.1

func NewAccessLoggerInterceptorWithLogger(l loggerWithFields) grpc.UnaryServerInterceptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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