middleware

package
v0.0.0-...-5311485 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logging

func Logging(logger logging.Logger) grpc.UnaryServerInterceptor

func Recovery

func Recovery(logger logging.Logger) grpc.UnaryServerInterceptor

Types

type RequestIDMeta

type RequestIDMeta interface {
	GetRequestID() string
}

type RequestIDReq

type RequestIDReq[T RequestIDMeta] interface {
	GetReqMeta() T
}

Jump to

Keyboard shortcuts

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