enigmainterceptors

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsHandler

type MetricsHandler struct {
	Log func(invocation *enigma.Invocation, metrics *enigma.InvocationMetrics, response *enigma.InvocationResponse)
}

func (*MetricsHandler) MetricsInterceptor

func (m *MetricsHandler) MetricsInterceptor(ctx context.Context, invocation *enigma.Invocation, proceed enigma.InterceptorContinuation) *enigma.InvocationResponse

Jump to

Keyboard shortcuts

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