mock_type

package
v0.0.0-...-4dce37a Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package mock_type is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIApiSession

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

MockIApiSession is a mock of IApiSession interface

func NewMockIApiSession

func NewMockIApiSession(ctrl *gomock.Controller) *MockIApiSession

NewMockIApiSession creates a new mock instance

func (*MockIApiSession) AddDefer

func (m *MockIApiSession) AddDefer(arg0 func())

AddDefer mocks base method

func (*MockIApiSession) Api

func (m *MockIApiSession) Api() _type0.IApi

Api mocks base method

func (*MockIApiSession) Body

func (m *MockIApiSession) Body() io.ReadCloser

Body mocks base method

func (*MockIApiSession) ClientType

func (m *MockIApiSession) ClientType() string

ClientType mocks base method

func (*MockIApiSession) Data

func (m *MockIApiSession) Data(arg0 string) interface{}

Data mocks base method

func (*MockIApiSession) Defers

func (m *MockIApiSession) Defers() []func()

Defers mocks base method

func (*MockIApiSession) EXPECT

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

func (*MockIApiSession) FormValues

func (m *MockIApiSession) FormValues() (map[string][]string, error)

FormValues mocks base method

func (*MockIApiSession) Header

func (m *MockIApiSession) Header(arg0 string) string

Header mocks base method

func (*MockIApiSession) JwtBody

func (m *MockIApiSession) JwtBody() map[string]interface{}

JwtBody mocks base method

func (*MockIApiSession) JwtHeaderName

func (m *MockIApiSession) JwtHeaderName() string

JwtHeaderName mocks base method

func (*MockIApiSession) Lang

func (m *MockIApiSession) Lang() string

Lang mocks base method

func (*MockIApiSession) Logger

Logger mocks base method

func (*MockIApiSession) Method

func (m *MockIApiSession) Method() string

Method mocks base method

func (*MockIApiSession) OriginalParams

func (m *MockIApiSession) OriginalParams() map[string]interface{}

OriginalParams mocks base method

func (*MockIApiSession) Params

func (m *MockIApiSession) Params() map[string]interface{}

Params mocks base method

func (*MockIApiSession) Path

func (m *MockIApiSession) Path() string

Path mocks base method

func (*MockIApiSession) ReadJSON

func (m *MockIApiSession) ReadJSON(arg0 interface{}) error

ReadJSON mocks base method

func (*MockIApiSession) RemoteAddress

func (m *MockIApiSession) RemoteAddress() string

RemoteAddress mocks base method

func (*MockIApiSession) Request

func (m *MockIApiSession) Request() *http.Request

Request mocks base method

func (*MockIApiSession) ResponseWriter

func (m *MockIApiSession) ResponseWriter() http.ResponseWriter

ResponseWriter mocks base method

func (*MockIApiSession) ScanParams

func (m *MockIApiSession) ScanParams(arg0 interface{})

ScanParams mocks base method

func (*MockIApiSession) SetApi

func (m *MockIApiSession) SetApi(arg0 _type0.IApi)

SetApi mocks base method

func (*MockIApiSession) SetClientType

func (m *MockIApiSession) SetClientType(arg0 string)

SetClientType mocks base method

func (*MockIApiSession) SetData

func (m *MockIApiSession) SetData(arg0 string, arg1 interface{})

SetData mocks base method

func (*MockIApiSession) SetHeader

func (m *MockIApiSession) SetHeader(arg0, arg1 string)

SetHeader mocks base method

func (*MockIApiSession) SetJwtBody

func (m *MockIApiSession) SetJwtBody(arg0 map[string]interface{})

SetJwtBody mocks base method

func (*MockIApiSession) SetJwtHeaderName

func (m *MockIApiSession) SetJwtHeaderName(arg0 string)

SetJwtHeaderName mocks base method

func (*MockIApiSession) SetLang

func (m *MockIApiSession) SetLang(arg0 string)

SetLang mocks base method

func (*MockIApiSession) SetOriginalParams

func (m *MockIApiSession) SetOriginalParams(arg0 map[string]interface{})

SetOriginalParams mocks base method

func (*MockIApiSession) SetParams

func (m *MockIApiSession) SetParams(arg0 map[string]interface{})

SetParams mocks base method

func (*MockIApiSession) SetRequest

func (m *MockIApiSession) SetRequest(arg0 *http.Request)

SetRequest mocks base method

func (*MockIApiSession) SetResponseWriter

func (m *MockIApiSession) SetResponseWriter(arg0 http.ResponseWriter)

SetResponseWriter mocks base method

func (*MockIApiSession) SetStatusCode

func (m *MockIApiSession) SetStatusCode(arg0 _type.StatusCode)

SetStatusCode mocks base method

func (*MockIApiSession) SetUserId

func (m *MockIApiSession) SetUserId(arg0 uint64)

SetUserId mocks base method

func (*MockIApiSession) UrlParams

func (m *MockIApiSession) UrlParams() map[string]string

UrlParams mocks base method

func (*MockIApiSession) UserId

func (m *MockIApiSession) UserId() uint64

UserId mocks base method

func (*MockIApiSession) WriteJson

func (m *MockIApiSession) WriteJson(arg0 interface{}) error

WriteJson mocks base method

func (*MockIApiSession) WriteText

func (m *MockIApiSession) WriteText(arg0 string) error

WriteText mocks base method

type MockIApiSessionMockRecorder

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

MockIApiSessionMockRecorder is the mock recorder for MockIApiSession

func (*MockIApiSessionMockRecorder) AddDefer

func (mr *MockIApiSessionMockRecorder) AddDefer(arg0 interface{}) *gomock.Call

AddDefer indicates an expected call of AddDefer

func (*MockIApiSessionMockRecorder) Api

Api indicates an expected call of Api

func (*MockIApiSessionMockRecorder) Body

Body indicates an expected call of Body

func (*MockIApiSessionMockRecorder) ClientType

func (mr *MockIApiSessionMockRecorder) ClientType() *gomock.Call

ClientType indicates an expected call of ClientType

func (*MockIApiSessionMockRecorder) Data

func (mr *MockIApiSessionMockRecorder) Data(arg0 interface{}) *gomock.Call

Data indicates an expected call of Data

func (*MockIApiSessionMockRecorder) Defers

func (mr *MockIApiSessionMockRecorder) Defers() *gomock.Call

Defers indicates an expected call of Defers

func (*MockIApiSessionMockRecorder) FormValues

func (mr *MockIApiSessionMockRecorder) FormValues() *gomock.Call

FormValues indicates an expected call of FormValues

func (*MockIApiSessionMockRecorder) Header

func (mr *MockIApiSessionMockRecorder) Header(arg0 interface{}) *gomock.Call

Header indicates an expected call of Header

func (*MockIApiSessionMockRecorder) JwtBody

func (mr *MockIApiSessionMockRecorder) JwtBody() *gomock.Call

JwtBody indicates an expected call of JwtBody

func (*MockIApiSessionMockRecorder) JwtHeaderName

func (mr *MockIApiSessionMockRecorder) JwtHeaderName() *gomock.Call

JwtHeaderName indicates an expected call of JwtHeaderName

func (*MockIApiSessionMockRecorder) Lang

Lang indicates an expected call of Lang

func (*MockIApiSessionMockRecorder) Logger

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

Logger indicates an expected call of Logger

func (*MockIApiSessionMockRecorder) Method

func (mr *MockIApiSessionMockRecorder) Method() *gomock.Call

Method indicates an expected call of Method

func (*MockIApiSessionMockRecorder) OriginalParams

func (mr *MockIApiSessionMockRecorder) OriginalParams() *gomock.Call

OriginalParams indicates an expected call of OriginalParams

func (*MockIApiSessionMockRecorder) Params

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

Params indicates an expected call of Params

func (*MockIApiSessionMockRecorder) Path

Path indicates an expected call of Path

func (*MockIApiSessionMockRecorder) ReadJSON

func (mr *MockIApiSessionMockRecorder) ReadJSON(arg0 interface{}) *gomock.Call

ReadJSON indicates an expected call of ReadJSON

func (*MockIApiSessionMockRecorder) RemoteAddress

func (mr *MockIApiSessionMockRecorder) RemoteAddress() *gomock.Call

RemoteAddress indicates an expected call of RemoteAddress

func (*MockIApiSessionMockRecorder) Request

func (mr *MockIApiSessionMockRecorder) Request() *gomock.Call

Request indicates an expected call of Request

func (*MockIApiSessionMockRecorder) ResponseWriter

func (mr *MockIApiSessionMockRecorder) ResponseWriter() *gomock.Call

ResponseWriter indicates an expected call of ResponseWriter

func (*MockIApiSessionMockRecorder) ScanParams

func (mr *MockIApiSessionMockRecorder) ScanParams(arg0 interface{}) *gomock.Call

ScanParams indicates an expected call of ScanParams

func (*MockIApiSessionMockRecorder) SetApi

func (mr *MockIApiSessionMockRecorder) SetApi(arg0 interface{}) *gomock.Call

SetApi indicates an expected call of SetApi

func (*MockIApiSessionMockRecorder) SetClientType

func (mr *MockIApiSessionMockRecorder) SetClientType(arg0 interface{}) *gomock.Call

SetClientType indicates an expected call of SetClientType

func (*MockIApiSessionMockRecorder) SetData

func (mr *MockIApiSessionMockRecorder) SetData(arg0, arg1 interface{}) *gomock.Call

SetData indicates an expected call of SetData

func (*MockIApiSessionMockRecorder) SetHeader

func (mr *MockIApiSessionMockRecorder) SetHeader(arg0, arg1 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockIApiSessionMockRecorder) SetJwtBody

func (mr *MockIApiSessionMockRecorder) SetJwtBody(arg0 interface{}) *gomock.Call

SetJwtBody indicates an expected call of SetJwtBody

func (*MockIApiSessionMockRecorder) SetJwtHeaderName

func (mr *MockIApiSessionMockRecorder) SetJwtHeaderName(arg0 interface{}) *gomock.Call

SetJwtHeaderName indicates an expected call of SetJwtHeaderName

func (*MockIApiSessionMockRecorder) SetLang

func (mr *MockIApiSessionMockRecorder) SetLang(arg0 interface{}) *gomock.Call

SetLang indicates an expected call of SetLang

func (*MockIApiSessionMockRecorder) SetOriginalParams

func (mr *MockIApiSessionMockRecorder) SetOriginalParams(arg0 interface{}) *gomock.Call

SetOriginalParams indicates an expected call of SetOriginalParams

func (*MockIApiSessionMockRecorder) SetParams

func (mr *MockIApiSessionMockRecorder) SetParams(arg0 interface{}) *gomock.Call

SetParams indicates an expected call of SetParams

func (*MockIApiSessionMockRecorder) SetRequest

func (mr *MockIApiSessionMockRecorder) SetRequest(arg0 interface{}) *gomock.Call

SetRequest indicates an expected call of SetRequest

func (*MockIApiSessionMockRecorder) SetResponseWriter

func (mr *MockIApiSessionMockRecorder) SetResponseWriter(arg0 interface{}) *gomock.Call

SetResponseWriter indicates an expected call of SetResponseWriter

func (*MockIApiSessionMockRecorder) SetStatusCode

func (mr *MockIApiSessionMockRecorder) SetStatusCode(arg0 interface{}) *gomock.Call

SetStatusCode indicates an expected call of SetStatusCode

func (*MockIApiSessionMockRecorder) SetUserId

func (mr *MockIApiSessionMockRecorder) SetUserId(arg0 interface{}) *gomock.Call

SetUserId indicates an expected call of SetUserId

func (*MockIApiSessionMockRecorder) UrlParams

func (mr *MockIApiSessionMockRecorder) UrlParams() *gomock.Call

UrlParams indicates an expected call of UrlParams

func (*MockIApiSessionMockRecorder) UserId

func (mr *MockIApiSessionMockRecorder) UserId() *gomock.Call

UserId indicates an expected call of UserId

func (*MockIApiSessionMockRecorder) WriteJson

func (mr *MockIApiSessionMockRecorder) WriteJson(arg0 interface{}) *gomock.Call

WriteJson indicates an expected call of WriteJson

func (*MockIApiSessionMockRecorder) WriteText

func (mr *MockIApiSessionMockRecorder) WriteText(arg0 interface{}) *gomock.Call

WriteText indicates an expected call of WriteText

Jump to

Keyboard shortcuts

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