mock_iface

package
v0.1.140 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_iface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIAccessLogFormat added in v0.1.9

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

MockIAccessLogFormat is a mock of IAccessLogFormat interface.

func NewMockIAccessLogFormat added in v0.1.9

func NewMockIAccessLogFormat(ctrl *gomock.Controller) *MockIAccessLogFormat

NewMockIAccessLogFormat creates a new mock instance.

func (*MockIAccessLogFormat) EXPECT added in v0.1.9

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

func (*MockIAccessLogFormat) Format added in v0.1.9

func (m *MockIAccessLogFormat) Format(arg0 iface.IContext) string

Format mocks base method.

type MockIAccessLogFormatMockRecorder added in v0.1.9

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

MockIAccessLogFormatMockRecorder is the mock recorder for MockIAccessLogFormat.

func (*MockIAccessLogFormatMockRecorder) Format added in v0.1.9

func (mr *MockIAccessLogFormatMockRecorder) Format(arg0 interface{}) *gomock.Call

Format indicates an expected call of Format.

type MockIBind

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

MockIBind is a mock of IBind interface.

func NewMockIBind

func NewMockIBind(ctrl *gomock.Controller) *MockIBind

NewMockIBind creates a new mock instance.

func (*MockIBind) EXPECT

func (m *MockIBind) EXPECT() *MockIBindMockRecorder

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

func (*MockIBind) GetBindInfo

func (m *MockIBind) GetBindInfo(v interface{}) interface{}

GetBindInfo mocks base method.

type MockIBindMockRecorder

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

MockIBindMockRecorder is the mock recorder for MockIBind.

func (*MockIBindMockRecorder) GetBindInfo

func (mr *MockIBindMockRecorder) GetBindInfo(v interface{}) *gomock.Call

GetBindInfo indicates an expected call of GetBindInfo.

type MockIContext

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

MockIContext is a mock of IContext interface.

func NewMockIContext

func NewMockIContext(ctrl *gomock.Controller) *MockIContext

NewMockIContext creates a new mock instance.

func (*MockIContext) Abort

func (m *MockIContext) Abort()

Abort mocks base method.

func (*MockIContext) ActionId

func (m *MockIContext) ActionId() string

ActionId mocks base method.

func (*MockIContext) Cache

func (m *MockIContext) Cache(name string, rv reflect.Value)

Cache mocks base method.

func (*MockIContext) ClientIp

func (m *MockIContext) ClientIp() string

ClientIp mocks base method.

func (*MockIContext) ControllerId

func (m *MockIContext) ControllerId() string

ControllerId mocks base method.

func (*MockIContext) Cookie

func (m *MockIContext) Cookie(name, dft string) string

Cookie mocks base method.

func (*MockIContext) CookieAll

func (m *MockIContext) CookieAll() map[string]string

CookieAll mocks base method.

func (*MockIContext) Copy

func (m *MockIContext) Copy() iface.IContext

Copy mocks base method.

func (*MockIContext) Counting

func (m *MockIContext) Counting(key string, hit, total int)

Counting mocks base method.

func (*MockIContext) CountingString

func (m *MockIContext) CountingString() string

CountingString mocks base method.

func (*MockIContext) Debug

func (m *MockIContext) Debug(format string, v ...interface{})

Debug mocks base method.

func (*MockIContext) EXPECT

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

func (*MockIContext) ElapseMs

func (m *MockIContext) ElapseMs() int

ElapseMs mocks base method.

func (*MockIContext) End

func (m *MockIContext) End(status int, data []byte)

End mocks base method.

func (*MockIContext) Error

func (m *MockIContext) Error(format string, v ...interface{})

Error mocks base method.

func (*MockIContext) Fatal

func (m *MockIContext) Fatal(format string, v ...interface{})

Fatal mocks base method.

func (*MockIContext) FinishGoLog

func (m *MockIContext) FinishGoLog()

FinishGoLog mocks base method.

func (*MockIContext) Header

func (m *MockIContext) Header(name, dft string) string

Header mocks base method.

func (*MockIContext) HeaderAll

func (m *MockIContext) HeaderAll() map[string]string

HeaderAll mocks base method.

func (*MockIContext) HttpRW

func (m *MockIContext) HttpRW(debug, enableAccessLog bool, r *http.Request, w http.ResponseWriter)

HttpRW mocks base method.

func (*MockIContext) Info

func (m *MockIContext) Info(format string, v ...interface{})

Info mocks base method.

func (*MockIContext) Input

func (m *MockIContext) Input() *http.Request

Input mocks base method.

func (*MockIContext) LogId

func (m *MockIContext) LogId() string

LogId mocks base method.

func (*MockIContext) Method

func (m *MockIContext) Method() string

Method mocks base method.

func (*MockIContext) Next

func (m *MockIContext) Next()

Next mocks base method.

func (*MockIContext) Notice

func (m *MockIContext) Notice(format string, v ...interface{})

Notice mocks base method.

func (*MockIContext) Output

func (m *MockIContext) Output() http.ResponseWriter

Output mocks base method.

func (*MockIContext) Param

func (m *MockIContext) Param(name, dft string) string

Param mocks base method.

func (*MockIContext) ParamAll

func (m *MockIContext) ParamAll() map[string]string

ParamAll mocks base method.

func (*MockIContext) ParamArray

func (m *MockIContext) ParamArray(name string) []string

ParamArray mocks base method.

func (*MockIContext) ParamMap

func (m *MockIContext) ParamMap(name string) map[string]string

ParamMap mocks base method.

func (*MockIContext) Path

func (m *MockIContext) Path() string

Path mocks base method.

func (*MockIContext) Post

func (m *MockIContext) Post(name, dft string) string

Post mocks base method.

func (*MockIContext) PostAll

func (m *MockIContext) PostAll() map[string]string

PostAll mocks base method.

func (*MockIContext) PostArray

func (m *MockIContext) PostArray(name string) []string

PostArray mocks base method.

func (*MockIContext) PostMap

func (m *MockIContext) PostMap(name string) map[string]string

PostMap mocks base method.

func (*MockIContext) Process

func (m *MockIContext) Process(plugins []iface.IPlugin)

Process mocks base method.

func (*MockIContext) ProfileAdd

func (m *MockIContext) ProfileAdd(key string, elapse time.Duration)

ProfileAdd mocks base method.

func (*MockIContext) ProfileStart

func (m *MockIContext) ProfileStart(key string)

ProfileStart mocks base method.

func (*MockIContext) ProfileStop

func (m *MockIContext) ProfileStop(key string)

ProfileStop mocks base method.

func (*MockIContext) ProfileString

func (m *MockIContext) ProfileString() string

ProfileString mocks base method.

func (*MockIContext) PushLog

func (m *MockIContext) PushLog(key string, v interface{})

PushLog mocks base method.

func (*MockIContext) PushLogString

func (m *MockIContext) PushLogString() string

PushLogString mocks base method.

func (*MockIContext) Query

func (m *MockIContext) Query(name, dft string) string

Query mocks base method.

func (*MockIContext) QueryAll

func (m *MockIContext) QueryAll() map[string]string

QueryAll mocks base method.

func (*MockIContext) QueryArray

func (m *MockIContext) QueryArray(name string) []string

QueryArray mocks base method.

func (*MockIContext) QueryMap

func (m *MockIContext) QueryMap(name string) map[string]string

QueryMap mocks base method.

func (*MockIContext) SetAccessLogFormat added in v0.1.9

func (m *MockIContext) SetAccessLogFormat(v iface.IAccessLogFormat)

SetAccessLogFormat mocks base method.

func (*MockIContext) SetActionId

func (m *MockIContext) SetActionId(id string)

SetActionId mocks base method.

func (*MockIContext) SetControllerId

func (m *MockIContext) SetControllerId(id string)

SetControllerId mocks base method.

func (*MockIContext) SetCookie

func (m *MockIContext) SetCookie(cookie *http.Cookie)

SetCookie mocks base method.

func (*MockIContext) SetEnableAccessLog added in v0.1.114

func (m *MockIContext) SetEnableAccessLog(v bool)

SetEnableAccessLog mocks base method.

func (*MockIContext) SetHeader

func (m *MockIContext) SetHeader(name, value string)

SetHeader mocks base method.

func (*MockIContext) SetInput

func (m *MockIContext) SetInput(r *http.Request)

SetInput mocks base method.

func (*MockIContext) SetOutput

func (m *MockIContext) SetOutput(w http.ResponseWriter)

SetOutput mocks base method.

func (*MockIContext) SetProfileEnable added in v0.1.120

func (m *MockIContext) SetProfileEnable(v bool)

SetProfileEnable mocks base method.

func (*MockIContext) SetUserData

func (m *MockIContext) SetUserData(key string, data interface{})

SetUserData mocks base method.

func (*MockIContext) Size

func (m *MockIContext) Size() int

Size mocks base method.

func (*MockIContext) Status

func (m *MockIContext) Status() int

Status mocks base method.

func (*MockIContext) UserData

func (m *MockIContext) UserData(key string, dft interface{}) interface{}

UserData mocks base method.

func (*MockIContext) ValidateParam

func (m *MockIContext) ValidateParam(name string, dft ...interface{}) *validate.String

ValidateParam mocks base method.

func (*MockIContext) ValidatePost

func (m *MockIContext) ValidatePost(name string, dft ...interface{}) *validate.String

ValidatePost mocks base method.

func (*MockIContext) ValidateQuery

func (m *MockIContext) ValidateQuery(name string, dft ...interface{}) *validate.String

ValidateQuery mocks base method.

func (*MockIContext) Warn

func (m *MockIContext) Warn(format string, v ...interface{})

Warn mocks base method.

type MockIContextMockRecorder

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

MockIContextMockRecorder is the mock recorder for MockIContext.

func (*MockIContextMockRecorder) Abort

func (mr *MockIContextMockRecorder) Abort() *gomock.Call

Abort indicates an expected call of Abort.

func (*MockIContextMockRecorder) ActionId

func (mr *MockIContextMockRecorder) ActionId() *gomock.Call

ActionId indicates an expected call of ActionId.

func (*MockIContextMockRecorder) Cache

func (mr *MockIContextMockRecorder) Cache(name, rv interface{}) *gomock.Call

Cache indicates an expected call of Cache.

func (*MockIContextMockRecorder) ClientIp

func (mr *MockIContextMockRecorder) ClientIp() *gomock.Call

ClientIp indicates an expected call of ClientIp.

func (*MockIContextMockRecorder) ControllerId

func (mr *MockIContextMockRecorder) ControllerId() *gomock.Call

ControllerId indicates an expected call of ControllerId.

func (*MockIContextMockRecorder) Cookie

func (mr *MockIContextMockRecorder) Cookie(name, dft interface{}) *gomock.Call

Cookie indicates an expected call of Cookie.

func (*MockIContextMockRecorder) CookieAll

func (mr *MockIContextMockRecorder) CookieAll() *gomock.Call

CookieAll indicates an expected call of CookieAll.

func (*MockIContextMockRecorder) Copy

func (mr *MockIContextMockRecorder) Copy() *gomock.Call

Copy indicates an expected call of Copy.

func (*MockIContextMockRecorder) Counting

func (mr *MockIContextMockRecorder) Counting(key, hit, total interface{}) *gomock.Call

Counting indicates an expected call of Counting.

func (*MockIContextMockRecorder) CountingString

func (mr *MockIContextMockRecorder) CountingString() *gomock.Call

CountingString indicates an expected call of CountingString.

func (*MockIContextMockRecorder) Debug

func (mr *MockIContextMockRecorder) Debug(format interface{}, v ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockIContextMockRecorder) ElapseMs

func (mr *MockIContextMockRecorder) ElapseMs() *gomock.Call

ElapseMs indicates an expected call of ElapseMs.

func (*MockIContextMockRecorder) End

func (mr *MockIContextMockRecorder) End(status, data interface{}) *gomock.Call

End indicates an expected call of End.

func (*MockIContextMockRecorder) Error

func (mr *MockIContextMockRecorder) Error(format interface{}, v ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockIContextMockRecorder) Fatal

func (mr *MockIContextMockRecorder) Fatal(format interface{}, v ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockIContextMockRecorder) FinishGoLog

func (mr *MockIContextMockRecorder) FinishGoLog() *gomock.Call

FinishGoLog indicates an expected call of FinishGoLog.

func (*MockIContextMockRecorder) Header

func (mr *MockIContextMockRecorder) Header(name, dft interface{}) *gomock.Call

Header indicates an expected call of Header.

func (*MockIContextMockRecorder) HeaderAll

func (mr *MockIContextMockRecorder) HeaderAll() *gomock.Call

HeaderAll indicates an expected call of HeaderAll.

func (*MockIContextMockRecorder) HttpRW

func (mr *MockIContextMockRecorder) HttpRW(debug, enableAccessLog, r, w interface{}) *gomock.Call

HttpRW indicates an expected call of HttpRW.

func (*MockIContextMockRecorder) Info

func (mr *MockIContextMockRecorder) Info(format interface{}, v ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockIContextMockRecorder) Input

func (mr *MockIContextMockRecorder) Input() *gomock.Call

Input indicates an expected call of Input.

func (*MockIContextMockRecorder) LogId

func (mr *MockIContextMockRecorder) LogId() *gomock.Call

LogId indicates an expected call of LogId.

func (*MockIContextMockRecorder) Method

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

Method indicates an expected call of Method.

func (*MockIContextMockRecorder) Next

func (mr *MockIContextMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next.

func (*MockIContextMockRecorder) Notice

func (mr *MockIContextMockRecorder) Notice(format interface{}, v ...interface{}) *gomock.Call

Notice indicates an expected call of Notice.

func (*MockIContextMockRecorder) Output

func (mr *MockIContextMockRecorder) Output() *gomock.Call

Output indicates an expected call of Output.

func (*MockIContextMockRecorder) Param

func (mr *MockIContextMockRecorder) Param(name, dft interface{}) *gomock.Call

Param indicates an expected call of Param.

func (*MockIContextMockRecorder) ParamAll

func (mr *MockIContextMockRecorder) ParamAll() *gomock.Call

ParamAll indicates an expected call of ParamAll.

func (*MockIContextMockRecorder) ParamArray

func (mr *MockIContextMockRecorder) ParamArray(name interface{}) *gomock.Call

ParamArray indicates an expected call of ParamArray.

func (*MockIContextMockRecorder) ParamMap

func (mr *MockIContextMockRecorder) ParamMap(name interface{}) *gomock.Call

ParamMap indicates an expected call of ParamMap.

func (*MockIContextMockRecorder) Path

func (mr *MockIContextMockRecorder) Path() *gomock.Call

Path indicates an expected call of Path.

func (*MockIContextMockRecorder) Post

func (mr *MockIContextMockRecorder) Post(name, dft interface{}) *gomock.Call

Post indicates an expected call of Post.

func (*MockIContextMockRecorder) PostAll

func (mr *MockIContextMockRecorder) PostAll() *gomock.Call

PostAll indicates an expected call of PostAll.

func (*MockIContextMockRecorder) PostArray

func (mr *MockIContextMockRecorder) PostArray(name interface{}) *gomock.Call

PostArray indicates an expected call of PostArray.

func (*MockIContextMockRecorder) PostMap

func (mr *MockIContextMockRecorder) PostMap(name interface{}) *gomock.Call

PostMap indicates an expected call of PostMap.

func (*MockIContextMockRecorder) Process

func (mr *MockIContextMockRecorder) Process(plugins interface{}) *gomock.Call

Process indicates an expected call of Process.

func (*MockIContextMockRecorder) ProfileAdd

func (mr *MockIContextMockRecorder) ProfileAdd(key, elapse interface{}) *gomock.Call

ProfileAdd indicates an expected call of ProfileAdd.

func (*MockIContextMockRecorder) ProfileStart

func (mr *MockIContextMockRecorder) ProfileStart(key interface{}) *gomock.Call

ProfileStart indicates an expected call of ProfileStart.

func (*MockIContextMockRecorder) ProfileStop

func (mr *MockIContextMockRecorder) ProfileStop(key interface{}) *gomock.Call

ProfileStop indicates an expected call of ProfileStop.

func (*MockIContextMockRecorder) ProfileString

func (mr *MockIContextMockRecorder) ProfileString() *gomock.Call

ProfileString indicates an expected call of ProfileString.

func (*MockIContextMockRecorder) PushLog

func (mr *MockIContextMockRecorder) PushLog(key, v interface{}) *gomock.Call

PushLog indicates an expected call of PushLog.

func (*MockIContextMockRecorder) PushLogString

func (mr *MockIContextMockRecorder) PushLogString() *gomock.Call

PushLogString indicates an expected call of PushLogString.

func (*MockIContextMockRecorder) Query

func (mr *MockIContextMockRecorder) Query(name, dft interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockIContextMockRecorder) QueryAll

func (mr *MockIContextMockRecorder) QueryAll() *gomock.Call

QueryAll indicates an expected call of QueryAll.

func (*MockIContextMockRecorder) QueryArray

func (mr *MockIContextMockRecorder) QueryArray(name interface{}) *gomock.Call

QueryArray indicates an expected call of QueryArray.

func (*MockIContextMockRecorder) QueryMap

func (mr *MockIContextMockRecorder) QueryMap(name interface{}) *gomock.Call

QueryMap indicates an expected call of QueryMap.

func (*MockIContextMockRecorder) SetAccessLogFormat added in v0.1.9

func (mr *MockIContextMockRecorder) SetAccessLogFormat(v interface{}) *gomock.Call

SetAccessLogFormat indicates an expected call of SetAccessLogFormat.

func (*MockIContextMockRecorder) SetActionId

func (mr *MockIContextMockRecorder) SetActionId(id interface{}) *gomock.Call

SetActionId indicates an expected call of SetActionId.

func (*MockIContextMockRecorder) SetControllerId

func (mr *MockIContextMockRecorder) SetControllerId(id interface{}) *gomock.Call

SetControllerId indicates an expected call of SetControllerId.

func (*MockIContextMockRecorder) SetCookie

func (mr *MockIContextMockRecorder) SetCookie(cookie interface{}) *gomock.Call

SetCookie indicates an expected call of SetCookie.

func (*MockIContextMockRecorder) SetEnableAccessLog added in v0.1.114

func (mr *MockIContextMockRecorder) SetEnableAccessLog(v interface{}) *gomock.Call

SetEnableAccessLog indicates an expected call of SetEnableAccessLog.

func (*MockIContextMockRecorder) SetHeader

func (mr *MockIContextMockRecorder) SetHeader(name, value interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockIContextMockRecorder) SetInput

func (mr *MockIContextMockRecorder) SetInput(r interface{}) *gomock.Call

SetInput indicates an expected call of SetInput.

func (*MockIContextMockRecorder) SetOutput

func (mr *MockIContextMockRecorder) SetOutput(w interface{}) *gomock.Call

SetOutput indicates an expected call of SetOutput.

func (*MockIContextMockRecorder) SetProfileEnable added in v0.1.120

func (mr *MockIContextMockRecorder) SetProfileEnable(v interface{}) *gomock.Call

SetProfileEnable indicates an expected call of SetProfileEnable.

func (*MockIContextMockRecorder) SetUserData

func (mr *MockIContextMockRecorder) SetUserData(key, data interface{}) *gomock.Call

SetUserData indicates an expected call of SetUserData.

func (*MockIContextMockRecorder) Size

func (mr *MockIContextMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size.

func (*MockIContextMockRecorder) Status

func (mr *MockIContextMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockIContextMockRecorder) UserData

func (mr *MockIContextMockRecorder) UserData(key, dft interface{}) *gomock.Call

UserData indicates an expected call of UserData.

func (*MockIContextMockRecorder) ValidateParam

func (mr *MockIContextMockRecorder) ValidateParam(name interface{}, dft ...interface{}) *gomock.Call

ValidateParam indicates an expected call of ValidateParam.

func (*MockIContextMockRecorder) ValidatePost

func (mr *MockIContextMockRecorder) ValidatePost(name interface{}, dft ...interface{}) *gomock.Call

ValidatePost indicates an expected call of ValidatePost.

func (*MockIContextMockRecorder) ValidateQuery

func (mr *MockIContextMockRecorder) ValidateQuery(name interface{}, dft ...interface{}) *gomock.Call

ValidateQuery indicates an expected call of ValidateQuery.

func (*MockIContextMockRecorder) Warn

func (mr *MockIContextMockRecorder) Warn(format interface{}, v ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

type MockIController

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

MockIController is a mock of IController interface.

func NewMockIController

func NewMockIController(ctrl *gomock.Controller) *MockIController

NewMockIController creates a new mock instance.

func (*MockIController) AfterAction

func (m *MockIController) AfterAction(action string)

AfterAction mocks base method.

func (*MockIController) BeforeAction

func (m *MockIController) BeforeAction(action string)

BeforeAction mocks base method.

func (*MockIController) EXPECT

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

func (*MockIController) HandlePanic

func (m *MockIController) HandlePanic(v interface{}, debug bool)

HandlePanic mocks base method.

func (*MockIController) Response added in v0.1.136

func (m *MockIController) Response(v interface{}, err error)

Response mocks base method.

type MockIControllerMockRecorder

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

MockIControllerMockRecorder is the mock recorder for MockIController.

func (*MockIControllerMockRecorder) AfterAction

func (mr *MockIControllerMockRecorder) AfterAction(action interface{}) *gomock.Call

AfterAction indicates an expected call of AfterAction.

func (*MockIControllerMockRecorder) BeforeAction

func (mr *MockIControllerMockRecorder) BeforeAction(action interface{}) *gomock.Call

BeforeAction indicates an expected call of BeforeAction.

func (*MockIControllerMockRecorder) HandlePanic

func (mr *MockIControllerMockRecorder) HandlePanic(v, debug interface{}) *gomock.Call

HandlePanic indicates an expected call of HandlePanic.

func (*MockIControllerMockRecorder) Response added in v0.1.136

func (mr *MockIControllerMockRecorder) Response(v, err interface{}) *gomock.Call

Response indicates an expected call of Response.

type MockIErrorController added in v0.1.1

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

MockIErrorController is a mock of IErrorController interface.

func NewMockIErrorController added in v0.1.1

func NewMockIErrorController(ctrl *gomock.Controller) *MockIErrorController

NewMockIErrorController creates a new mock instance.

func (*MockIErrorController) EXPECT added in v0.1.1

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

func (*MockIErrorController) Error added in v0.1.1

func (m *MockIErrorController) Error(status int, message string)

Error mocks base method.

type MockIErrorControllerMockRecorder added in v0.1.1

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

MockIErrorControllerMockRecorder is the mock recorder for MockIErrorController.

func (*MockIErrorControllerMockRecorder) Error added in v0.1.1

func (mr *MockIErrorControllerMockRecorder) Error(status, message interface{}) *gomock.Call

Error indicates an expected call of Error.

type MockIEvent

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

MockIEvent is a mock of IEvent interface.

func NewMockIEvent

func NewMockIEvent(ctrl *gomock.Controller) *MockIEvent

NewMockIEvent creates a new mock instance.

func (*MockIEvent) EXPECT

func (m *MockIEvent) EXPECT() *MockIEventMockRecorder

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

func (*MockIEvent) HandleEvent

func (m *MockIEvent) HandleEvent(event string, ctx iface.IContext, args ...interface{})

HandleEvent mocks base method.

type MockIEventMockRecorder

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

MockIEventMockRecorder is the mock recorder for MockIEvent.

func (*MockIEventMockRecorder) HandleEvent

func (mr *MockIEventMockRecorder) HandleEvent(event, ctx interface{}, args ...interface{}) *gomock.Call

HandleEvent indicates an expected call of HandleEvent.

type MockII18n

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

MockII18n is a mock of II18n interface.

func NewMockII18n

func NewMockII18n(ctrl *gomock.Controller) *MockII18n

NewMockII18n creates a new mock instance.

func (*MockII18n) EXPECT

func (m *MockII18n) EXPECT() *MockII18nMockRecorder

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

func (*MockII18n) Translate

func (m *MockII18n) Translate(message, lang string, params ...interface{}) string

Translate mocks base method.

type MockII18nMockRecorder

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

MockII18nMockRecorder is the mock recorder for MockII18n.

func (*MockII18nMockRecorder) Translate

func (mr *MockII18nMockRecorder) Translate(message, lang interface{}, params ...interface{}) *gomock.Call

Translate indicates an expected call of Translate.

type MockIObject

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

MockIObject is a mock of IObject interface.

func NewMockIObject

func NewMockIObject(ctrl *gomock.Controller) *MockIObject

NewMockIObject creates a new mock instance.

func (*MockIObject) Context

func (m *MockIObject) Context() iface.IContext

Context mocks base method.

func (*MockIObject) EXPECT

func (m *MockIObject) EXPECT() *MockIObjectMockRecorder

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

func (*MockIObject) GetObj

func (m *MockIObject) GetObj(obj iface.IObject) iface.IObject

GetObj mocks base method.

func (*MockIObject) GetObjBox added in v0.1.116

func (m *MockIObject) GetObjBox(className string, params ...interface{}) iface.IObject

GetObjBox mocks base method.

func (*MockIObject) GetObjBoxCtx added in v0.1.116

func (m *MockIObject) GetObjBoxCtx(ctx iface.IContext, className string, params ...interface{}) iface.IObject

GetObjBoxCtx mocks base method.

func (*MockIObject) GetObjCtx

func (m *MockIObject) GetObjCtx(ctx iface.IContext, obj iface.IObject) iface.IObject

GetObjCtx mocks base method.

func (*MockIObject) GetObjPool

func (m *MockIObject) GetObjPool(className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPool mocks base method.

func (*MockIObject) GetObjPoolCtx

func (m *MockIObject) GetObjPoolCtx(ctr iface.IContext, className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPoolCtx mocks base method.

func (*MockIObject) GetObjSingle

func (m *MockIObject) GetObjSingle(name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingle mocks base method.

func (*MockIObject) GetObjSingleCtx

func (m *MockIObject) GetObjSingleCtx(ctx iface.IContext, name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingleCtx mocks base method.

func (*MockIObject) SetContext

func (m *MockIObject) SetContext(ctx iface.IContext) iface.IObject

SetContext mocks base method.

type MockIObjectMockRecorder

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

MockIObjectMockRecorder is the mock recorder for MockIObject.

func (*MockIObjectMockRecorder) Context

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

Context indicates an expected call of Context.

func (*MockIObjectMockRecorder) GetObj

func (mr *MockIObjectMockRecorder) GetObj(obj interface{}) *gomock.Call

GetObj indicates an expected call of GetObj.

func (*MockIObjectMockRecorder) GetObjBox added in v0.1.116

func (mr *MockIObjectMockRecorder) GetObjBox(className interface{}, params ...interface{}) *gomock.Call

GetObjBox indicates an expected call of GetObjBox.

func (*MockIObjectMockRecorder) GetObjBoxCtx added in v0.1.116

func (mr *MockIObjectMockRecorder) GetObjBoxCtx(ctx, className interface{}, params ...interface{}) *gomock.Call

GetObjBoxCtx indicates an expected call of GetObjBoxCtx.

func (*MockIObjectMockRecorder) GetObjCtx

func (mr *MockIObjectMockRecorder) GetObjCtx(ctx, obj interface{}) *gomock.Call

GetObjCtx indicates an expected call of GetObjCtx.

func (*MockIObjectMockRecorder) GetObjPool

func (mr *MockIObjectMockRecorder) GetObjPool(className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPool indicates an expected call of GetObjPool.

func (*MockIObjectMockRecorder) GetObjPoolCtx

func (mr *MockIObjectMockRecorder) GetObjPoolCtx(ctr, className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPoolCtx indicates an expected call of GetObjPoolCtx.

func (*MockIObjectMockRecorder) GetObjSingle

func (mr *MockIObjectMockRecorder) GetObjSingle(name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingle indicates an expected call of GetObjSingle.

func (*MockIObjectMockRecorder) GetObjSingleCtx

func (mr *MockIObjectMockRecorder) GetObjSingleCtx(ctx, name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingleCtx indicates an expected call of GetObjSingleCtx.

func (*MockIObjectMockRecorder) SetContext

func (mr *MockIObjectMockRecorder) SetContext(ctx interface{}) *gomock.Call

SetContext indicates an expected call of SetContext.

type MockIPlugin

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

MockIPlugin is a mock of IPlugin interface.

func NewMockIPlugin

func NewMockIPlugin(ctrl *gomock.Controller) *MockIPlugin

NewMockIPlugin creates a new mock instance.

func (*MockIPlugin) EXPECT

func (m *MockIPlugin) EXPECT() *MockIPluginMockRecorder

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

func (*MockIPlugin) HandleRequest

func (m *MockIPlugin) HandleRequest(ctx iface.IContext)

HandleRequest mocks base method.

type MockIPluginMockRecorder

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

MockIPluginMockRecorder is the mock recorder for MockIPlugin.

func (*MockIPluginMockRecorder) HandleRequest

func (mr *MockIPluginMockRecorder) HandleRequest(ctx interface{}) *gomock.Call

HandleRequest indicates an expected call of HandleRequest.

type MockIStatus

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

MockIStatus is a mock of IStatus interface.

func NewMockIStatus

func NewMockIStatus(ctrl *gomock.Controller) *MockIStatus

NewMockIStatus creates a new mock instance.

func (*MockIStatus) EXPECT

func (m *MockIStatus) EXPECT() *MockIStatusMockRecorder

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

func (*MockIStatus) Text

func (m *MockIStatus) Text(status int, lang string, dft ...string) string

Text mocks base method.

type MockIStatusMockRecorder

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

MockIStatusMockRecorder is the mock recorder for MockIStatus.

func (*MockIStatusMockRecorder) Text

func (mr *MockIStatusMockRecorder) Text(status, lang interface{}, dft ...interface{}) *gomock.Call

Text indicates an expected call of Text.

type MockIView

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

MockIView is a mock of IView interface.

func NewMockIView

func NewMockIView(ctrl *gomock.Controller) *MockIView

NewMockIView creates a new mock instance.

func (*MockIView) AddFuncMap

func (m *MockIView) AddFuncMap(funcMap template.FuncMap)

AddFuncMap mocks base method.

func (*MockIView) Display

func (m *MockIView) Display(w io.Writer, view string, data interface{})

Display mocks base method.

func (*MockIView) EXPECT

func (m *MockIView) EXPECT() *MockIViewMockRecorder

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

func (*MockIView) Render

func (m *MockIView) Render(view string, data interface{}) []byte

Render mocks base method.

type MockIViewMockRecorder

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

MockIViewMockRecorder is the mock recorder for MockIView.

func (*MockIViewMockRecorder) AddFuncMap

func (mr *MockIViewMockRecorder) AddFuncMap(funcMap interface{}) *gomock.Call

AddFuncMap indicates an expected call of AddFuncMap.

func (*MockIViewMockRecorder) Display

func (mr *MockIViewMockRecorder) Display(w, view, data interface{}) *gomock.Call

Display indicates an expected call of Display.

func (*MockIViewMockRecorder) Render

func (mr *MockIViewMockRecorder) Render(view, data interface{}) *gomock.Call

Render indicates an expected call of Render.

Jump to

Keyboard shortcuts

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