interceptor

package
v0.0.28-test2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ClientInterceptorLogOptions added in v0.0.20

type ClientInterceptorLogOptions struct {
	Logger     *log.Logger
	APIOutput  io.Writer
	Attributes []log.Attr
}

func GetClientInterceptorLogOptions added in v0.0.20

func GetClientInterceptorLogOptions(logger *log.Logger, attrs []log.Attr) ClientInterceptorLogOptions

type ServerInterceptorLogOptions added in v0.0.20

type ServerInterceptorLogOptions struct {
	Logger        *log.Logger
	APIOutput     io.Writer
	CtxOutput     io.Writer
	APIAttributes []log.Attr
	CtxAttributes []log.Attr
}

func GetServerInterceptorLogOptions added in v0.0.20

func GetServerInterceptorLogOptions(logger *log.Logger, attrs []log.Attr) ServerInterceptorLogOptions

Jump to

Keyboard shortcuts

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