mocks

package
v0.0.0-...-297f327 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRequestCtx

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

MockRequestCtx is a mock of RequestCtx interface.

func NewMockRequestCtx

func NewMockRequestCtx(ctrl *gomock.Controller) *MockRequestCtx

NewMockRequestCtx creates a new mock instance.

func (*MockRequestCtx) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRequestCtx) Error

func (m *MockRequestCtx) Error(msg string, statusCode int)

Error mocks base method.

func (*MockRequestCtx) PostBody

func (m *MockRequestCtx) PostBody() []byte

PostBody mocks base method.

func (*MockRequestCtx) Time

func (m *MockRequestCtx) Time() time.Time

Time mocks base method.

func (*MockRequestCtx) UserValue

func (m *MockRequestCtx) UserValue(key string) interface{}

UserValue mocks base method.

type MockRequestCtxMockRecorder

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

MockRequestCtxMockRecorder is the mock recorder for MockRequestCtx.

func (*MockRequestCtxMockRecorder) Error

func (mr *MockRequestCtxMockRecorder) Error(msg, statusCode interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockRequestCtxMockRecorder) PostBody

func (mr *MockRequestCtxMockRecorder) PostBody() *gomock.Call

PostBody indicates an expected call of PostBody.

func (*MockRequestCtxMockRecorder) Time

Time indicates an expected call of Time.

func (*MockRequestCtxMockRecorder) UserValue

func (mr *MockRequestCtxMockRecorder) UserValue(key interface{}) *gomock.Call

UserValue indicates an expected call of UserValue.

Jump to

Keyboard shortcuts

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