mocks

package
v0.0.0-...-6aff8e0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthLogger

type AuthLogger struct {
	mock.Mock
}

AuthLogger is an autogenerated mock type for the AuthLogger type

func (*AuthLogger) Error

func (_m *AuthLogger) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*AuthLogger) Errorf

func (_m *AuthLogger) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*AuthLogger) Tracef

func (_m *AuthLogger) Tracef(format string, args ...interface{})

Tracef provides a mock function with given fields: format, args

type RequestContext

type RequestContext struct {
	mock.Mock
}

RequestContext is an autogenerated mock type for the RequestContext type

func (*RequestContext) AbortWithStatusJSON

func (_m *RequestContext) AbortWithStatusJSON(code int, jsonObj interface{})

AbortWithStatusJSON provides a mock function with given fields: code, jsonObj

func (*RequestContext) GetHeader

func (_m *RequestContext) GetHeader(key string) string

GetHeader provides a mock function with given fields: key

func (*RequestContext) Next

func (_m *RequestContext) Next()

Next provides a mock function with given fields:

Jump to

Keyboard shortcuts

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