mockrequest

package
v0.0.0-...-6907ca9 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mockrequest is a generated GoMock package.

Package mockrequest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRequest

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

MockRequest is a mock of Request interface

func NewMockRequest

func NewMockRequest(ctrl *gomock.Controller) *MockRequest

NewMockRequest creates a new mock instance

func (*MockRequest) Context

func (m *MockRequest) Context() context.Context

Context mocks base method

func (*MockRequest) EXPECT

func (m *MockRequest) EXPECT() *MockRequestMockRecorder

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

func (*MockRequest) ID

func (m *MockRequest) ID() string

ID mocks base method

func (*MockRequest) Logger

func (m *MockRequest) Logger() go_logger.Logger

Logger mocks base method

func (*MockRequest) Params

func (m *MockRequest) Params() interface{}

Params mocks base method

func (*MockRequest) Reporter

func (m *MockRequest) Reporter() go_reporter.Reporter

Reporter mocks base method

func (*MockRequest) Response

func (m *MockRequest) Response() request.Response

Response mocks base method

func (*MockRequest) Session

func (m *MockRequest) Session() *auth.Session

Session mocks base method

func (*MockRequest) SetSession

func (m *MockRequest) SetSession(arg0 *auth.Session)

SetSession mocks base method

func (*MockRequest) SetUser

func (m *MockRequest) SetUser(arg0 *auth.User)

SetUser mocks base method

func (*MockRequest) Signature

func (m *MockRequest) Signature() string

Signature mocks base method

func (*MockRequest) String

func (m *MockRequest) String() string

String mocks base method

func (*MockRequest) User

func (m *MockRequest) User() *auth.User

User mocks base method

type MockRequestMockRecorder

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

MockRequestMockRecorder is the mock recorder for MockRequest

func (*MockRequestMockRecorder) Context

func (mr *MockRequestMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockRequestMockRecorder) ID

ID indicates an expected call of ID

func (*MockRequestMockRecorder) Logger

func (mr *MockRequestMockRecorder) Logger() *gomock.Call

Logger indicates an expected call of Logger

func (*MockRequestMockRecorder) Params

func (mr *MockRequestMockRecorder) Params() *gomock.Call

Params indicates an expected call of Params

func (*MockRequestMockRecorder) Reporter

func (mr *MockRequestMockRecorder) Reporter() *gomock.Call

Reporter indicates an expected call of Reporter

func (*MockRequestMockRecorder) Response

func (mr *MockRequestMockRecorder) Response() *gomock.Call

Response indicates an expected call of Response

func (*MockRequestMockRecorder) Session

func (mr *MockRequestMockRecorder) Session() *gomock.Call

Session indicates an expected call of Session

func (*MockRequestMockRecorder) SetSession

func (mr *MockRequestMockRecorder) SetSession(arg0 interface{}) *gomock.Call

SetSession indicates an expected call of SetSession

func (*MockRequestMockRecorder) SetUser

func (mr *MockRequestMockRecorder) SetUser(arg0 interface{}) *gomock.Call

SetUser indicates an expected call of SetUser

func (*MockRequestMockRecorder) Signature

func (mr *MockRequestMockRecorder) Signature() *gomock.Call

Signature indicates an expected call of Signature

func (*MockRequestMockRecorder) String

func (mr *MockRequestMockRecorder) String() *gomock.Call

String indicates an expected call of String

func (*MockRequestMockRecorder) User

func (mr *MockRequestMockRecorder) User() *gomock.Call

User indicates an expected call of User

type MockResponse

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

MockResponse is a mock of Response interface

func NewMockResponse

func NewMockResponse(ctrl *gomock.Controller) *MockResponse

NewMockResponse creates a new mock instance

func (*MockResponse) Created

func (m *MockResponse) Created(arg0 interface{}) error

Created mocks base method

func (*MockResponse) EXPECT

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

func (*MockResponse) Header

func (m *MockResponse) Header() http.Header

Header mocks base method

func (*MockResponse) NoContent

func (m *MockResponse) NoContent()

NoContent mocks base method

func (*MockResponse) Ok

func (m *MockResponse) Ok(arg0 interface{}) error

Ok mocks base method

type MockResponseMockRecorder

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

MockResponseMockRecorder is the mock recorder for MockResponse

func (*MockResponseMockRecorder) Created

func (mr *MockResponseMockRecorder) Created(arg0 interface{}) *gomock.Call

Created indicates an expected call of Created

func (*MockResponseMockRecorder) CreatedSuccess

func (mr *MockResponseMockRecorder) CreatedSuccess(typ interface{}, runnable interface{}) *gomock.Call

CreatedSuccess is a helper that expects a valid Created response

func (*MockResponseMockRecorder) Header

func (mr *MockResponseMockRecorder) Header() *gomock.Call

Header indicates an expected call of Header

func (*MockResponseMockRecorder) NoContent

func (mr *MockResponseMockRecorder) NoContent() *gomock.Call

NoContent indicates an expected call of NoContent

func (*MockResponseMockRecorder) Ok

func (mr *MockResponseMockRecorder) Ok(arg0 interface{}) *gomock.Call

Ok indicates an expected call of Ok

func (*MockResponseMockRecorder) OkSuccess

func (mr *MockResponseMockRecorder) OkSuccess(typ interface{}, runnable interface{}) *gomock.Call

OkSuccess is a helper that expects a valid Created response

Jump to

Keyboard shortcuts

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