requestLogger

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 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 IRequestLogger

type IRequestLogger struct {
	mock.Mock
}

IRequestLogger is an autogenerated mock type for the IRequestLogger type

func NewIRequestLogger

func NewIRequestLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *IRequestLogger

NewIRequestLogger creates a new instance of IRequestLogger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IRequestLogger) EXPECT added in v1.0.2

func (*IRequestLogger) Handler

func (_mock *IRequestLogger) Handler(h http.Handler) http.Handler

Handler provides a mock function for the type IRequestLogger

type IRequestLogger_Expecter added in v1.0.2

type IRequestLogger_Expecter struct {
	// contains filtered or unexported fields
}

func (*IRequestLogger_Expecter) Handler added in v1.0.2

func (_e *IRequestLogger_Expecter) Handler(h interface{}) *IRequestLogger_Handler_Call

Handler is a helper method to define mock.On call

  • h http.Handler

type IRequestLogger_Handler_Call added in v1.0.2

type IRequestLogger_Handler_Call struct {
	*mock.Call
}

IRequestLogger_Handler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handler'

func (*IRequestLogger_Handler_Call) Return added in v1.0.2

func (*IRequestLogger_Handler_Call) Run added in v1.0.2

func (*IRequestLogger_Handler_Call) RunAndReturn added in v1.0.2

Jump to

Keyboard shortcuts

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