interceptor

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRecoveryOpts

func GetRecoveryOpts() []recovery.Option

func GetRetryOptions

func GetRetryOptions() []retry.CallOption

func ParseStack

func ParseStack(stack string) (string, string)

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