logInterceptor

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interceptor

func Interceptor(opts ...*Option) grpc.UnaryServerInterceptor

Types

type Opt added in v0.0.9

type Opt = Option

type Option added in v0.1.0

type Option struct {
	Service        string `json:"service"`
	ReportToSentry bool   `json:"reportToSentry"`
	RePanic        bool   `json:"rePanic"`
	Debug          bool   `json:"debug"`
}

Jump to

Keyboard shortcuts

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