mock

package
v0.0.0-...-7c51b95 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplication

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

MockApplication is a mock of Application interface

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance

func (*MockApplication) Bind

func (m *MockApplication) Bind(arg0 string, arg1 interface{}, arg2 ...support.Option)

Bind mocks base method

func (*MockApplication) Boot

func (m *MockApplication) Boot()

Boot mocks base method

func (*MockApplication) EXPECT

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

func (*MockApplication) Flush

func (m *MockApplication) Flush()

Flush mocks base method

func (*MockApplication) Get

func (m *MockApplication) Get(arg0 string, arg1 ...interface{}) interface{}

Get mocks base method

func (*MockApplication) GetProvider

func (m *MockApplication) GetProvider(arg0 string) contract.Provider

GetProvider mocks base method

func (*MockApplication) Has

func (m *MockApplication) Has(arg0 string) bool

Has mocks base method

func (*MockApplication) HasProvider

func (m *MockApplication) HasProvider(arg0 string) bool

HasProvider mocks base method

func (*MockApplication) IsDevelopment

func (m *MockApplication) IsDevelopment() bool

IsDevelopment mocks base method

func (*MockApplication) IsProduction

func (m *MockApplication) IsProduction() bool

IsProduction mocks base method

func (*MockApplication) IsTesting

func (m *MockApplication) IsTesting() bool

IsTesting mocks base method

func (*MockApplication) Make

func (m *MockApplication) Make(arg0 interface{}, arg1 ...interface{}) interface{}

Make mocks base method

func (*MockApplication) Mode

func (m *MockApplication) Mode() byte

Mode mocks base method

func (*MockApplication) Register

func (m *MockApplication) Register(arg0 contract.Provider, arg1 bool)

Register mocks base method

func (*MockApplication) RegisterMultiple

func (m *MockApplication) RegisterMultiple(arg0 []contract.Provider, arg1 bool)

RegisterMultiple mocks base method

func (*MockApplication) Remove

func (m *MockApplication) Remove(arg0 string)

Remove mocks base method

func (*MockApplication) Reset

func (m *MockApplication) Reset()

Reset mocks base method

func (*MockApplication) Resolve

func (m *MockApplication) Resolve(arg0 interface{}, arg1 ...interface{}) interface{}

Resolve mocks base method

func (*MockApplication) SetMode

func (m *MockApplication) SetMode(arg0 byte)

SetMode mocks base method

func (*MockApplication) Version

func (m *MockApplication) Version() string

Version mocks base method

type MockApplicationMockRecorder

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

MockApplicationMockRecorder is the mock recorder for MockApplication

func (*MockApplicationMockRecorder) Bind

func (mr *MockApplicationMockRecorder) Bind(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Bind indicates an expected call of Bind

func (*MockApplicationMockRecorder) Boot

Boot indicates an expected call of Boot

func (*MockApplicationMockRecorder) Flush

Flush indicates an expected call of Flush

func (*MockApplicationMockRecorder) Get

func (mr *MockApplicationMockRecorder) Get(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockApplicationMockRecorder) GetProvider

func (mr *MockApplicationMockRecorder) GetProvider(arg0 interface{}) *gomock.Call

GetProvider indicates an expected call of GetProvider

func (*MockApplicationMockRecorder) Has

func (mr *MockApplicationMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has

func (*MockApplicationMockRecorder) HasProvider

func (mr *MockApplicationMockRecorder) HasProvider(arg0 interface{}) *gomock.Call

HasProvider indicates an expected call of HasProvider

func (*MockApplicationMockRecorder) IsDevelopment

func (mr *MockApplicationMockRecorder) IsDevelopment() *gomock.Call

IsDevelopment indicates an expected call of IsDevelopment

func (*MockApplicationMockRecorder) IsProduction

func (mr *MockApplicationMockRecorder) IsProduction() *gomock.Call

IsProduction indicates an expected call of IsProduction

func (*MockApplicationMockRecorder) IsTesting

func (mr *MockApplicationMockRecorder) IsTesting() *gomock.Call

IsTesting indicates an expected call of IsTesting

func (*MockApplicationMockRecorder) Make

func (mr *MockApplicationMockRecorder) Make(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Make indicates an expected call of Make

func (*MockApplicationMockRecorder) Mode

Mode indicates an expected call of Mode

func (*MockApplicationMockRecorder) Register

func (mr *MockApplicationMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockApplicationMockRecorder) RegisterMultiple

func (mr *MockApplicationMockRecorder) RegisterMultiple(arg0, arg1 interface{}) *gomock.Call

RegisterMultiple indicates an expected call of RegisterMultiple

func (*MockApplicationMockRecorder) Remove

func (mr *MockApplicationMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockApplicationMockRecorder) Reset

Reset indicates an expected call of Reset

func (*MockApplicationMockRecorder) Resolve

func (mr *MockApplicationMockRecorder) Resolve(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Resolve indicates an expected call of Resolve

func (*MockApplicationMockRecorder) SetMode

func (mr *MockApplicationMockRecorder) SetMode(arg0 interface{}) *gomock.Call

SetMode indicates an expected call of SetMode

func (*MockApplicationMockRecorder) Version

func (mr *MockApplicationMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version

type MockContext

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

MockContext is a mock of Context interface

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance

func (*MockContext) Abort

func (m *MockContext) Abort()

Abort mocks base method

func (*MockContext) AddEntity

func (m *MockContext) AddEntity(arg0 string, arg1 interface{})

AddEntity mocks base method

func (*MockContext) Application

func (m *MockContext) Application() contract.Application

Application mocks base method

func (*MockContext) Bind

func (m *MockContext) Bind(arg0 interface{}) error

Bind mocks base method

func (*MockContext) BindValidate

func (m *MockContext) BindValidate(arg0 interface{}) error

BindValidate mocks base method

func (*MockContext) BindWith

func (m *MockContext) BindWith(arg0 contract.Binding, arg1 interface{}) error

BindWith mocks base method

func (*MockContext) BindWithValidate

func (m *MockContext) BindWithValidate(arg0 contract.Binding, arg1 interface{}) error

BindWithValidate mocks base method

func (*MockContext) Clone

func (m *MockContext) Clone() contract.Context

Clone mocks base method

func (*MockContext) Current

func (m *MockContext) Current() int

Current mocks base method

func (*MockContext) Deadline

func (m *MockContext) Deadline() (time.Time, bool)

Deadline mocks base method

func (*MockContext) Done

func (m *MockContext) Done() <-chan struct{}

Done mocks base method

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

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

func (*MockContext) Entity

func (m *MockContext) Entity(arg0 string) *contract.ContextEntity

Entity mocks base method

func (*MockContext) Err

func (m *MockContext) Err() error

Err mocks base method

func (*MockContext) Error

func (m *MockContext) Error(arg0 int, arg1 interface{})

Error mocks base method

func (*MockContext) Firmeve

func (m *MockContext) Firmeve() contract.Application

Firmeve mocks base method

func (*MockContext) Get

func (m *MockContext) Get(arg0 string) interface{}

Get mocks base method

func (*MockContext) Handlers

func (m *MockContext) Handlers() []contract.ContextHandler

Handlers mocks base method

func (*MockContext) Next

func (m *MockContext) Next()

Next mocks base method

func (*MockContext) Protocol

func (m *MockContext) Protocol() contract.Protocol

Protocol mocks base method

func (*MockContext) Render

func (m *MockContext) Render(arg0 int, arg1 interface{}) error

Render mocks base method

func (*MockContext) RenderWith

func (m *MockContext) RenderWith(arg0 int, arg1 contract.Render, arg2 interface{}) error

RenderWith mocks base method

func (*MockContext) Resolve

func (m *MockContext) Resolve(arg0 interface{}, arg1 ...interface{}) interface{}

Resolve mocks base method

func (*MockContext) Value

func (m *MockContext) Value(arg0 interface{}) interface{}

Value mocks base method

type MockContextMockRecorder

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

MockContextMockRecorder is the mock recorder for MockContext

func (*MockContextMockRecorder) Abort

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

Abort indicates an expected call of Abort

func (*MockContextMockRecorder) AddEntity

func (mr *MockContextMockRecorder) AddEntity(arg0, arg1 interface{}) *gomock.Call

AddEntity indicates an expected call of AddEntity

func (*MockContextMockRecorder) Application

func (mr *MockContextMockRecorder) Application() *gomock.Call

Application indicates an expected call of Application

func (*MockContextMockRecorder) Bind

func (mr *MockContextMockRecorder) Bind(arg0 interface{}) *gomock.Call

Bind indicates an expected call of Bind

func (*MockContextMockRecorder) BindValidate

func (mr *MockContextMockRecorder) BindValidate(arg0 interface{}) *gomock.Call

BindValidate indicates an expected call of BindValidate

func (*MockContextMockRecorder) BindWith

func (mr *MockContextMockRecorder) BindWith(arg0, arg1 interface{}) *gomock.Call

BindWith indicates an expected call of BindWith

func (*MockContextMockRecorder) BindWithValidate

func (mr *MockContextMockRecorder) BindWithValidate(arg0, arg1 interface{}) *gomock.Call

BindWithValidate indicates an expected call of BindWithValidate

func (*MockContextMockRecorder) Clone

func (mr *MockContextMockRecorder) Clone() *gomock.Call

Clone indicates an expected call of Clone

func (*MockContextMockRecorder) Current

func (mr *MockContextMockRecorder) Current() *gomock.Call

Current indicates an expected call of Current

func (*MockContextMockRecorder) Deadline

func (mr *MockContextMockRecorder) Deadline() *gomock.Call

Deadline indicates an expected call of Deadline

func (*MockContextMockRecorder) Done

func (mr *MockContextMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done

func (*MockContextMockRecorder) Entity

func (mr *MockContextMockRecorder) Entity(arg0 interface{}) *gomock.Call

Entity indicates an expected call of Entity

func (*MockContextMockRecorder) Err

func (mr *MockContextMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err

func (*MockContextMockRecorder) Error

func (mr *MockContextMockRecorder) Error(arg0, arg1 interface{}) *gomock.Call

Error indicates an expected call of Error

func (*MockContextMockRecorder) Firmeve

func (mr *MockContextMockRecorder) Firmeve() *gomock.Call

Firmeve indicates an expected call of Firmeve

func (*MockContextMockRecorder) Get

func (mr *MockContextMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockContextMockRecorder) Handlers

func (mr *MockContextMockRecorder) Handlers() *gomock.Call

Handlers indicates an expected call of Handlers

func (*MockContextMockRecorder) Next

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

Next indicates an expected call of Next

func (*MockContextMockRecorder) Protocol

func (mr *MockContextMockRecorder) Protocol() *gomock.Call

Protocol indicates an expected call of Protocol

func (*MockContextMockRecorder) Render

func (mr *MockContextMockRecorder) Render(arg0, arg1 interface{}) *gomock.Call

Render indicates an expected call of Render

func (*MockContextMockRecorder) RenderWith

func (mr *MockContextMockRecorder) RenderWith(arg0, arg1, arg2 interface{}) *gomock.Call

RenderWith indicates an expected call of RenderWith

func (*MockContextMockRecorder) Resolve

func (mr *MockContextMockRecorder) Resolve(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Resolve indicates an expected call of Resolve

func (*MockContextMockRecorder) Value

func (mr *MockContextMockRecorder) Value(arg0 interface{}) *gomock.Call

Value indicates an expected call of Value

type MockError

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

MockError is a mock of Error interface

func NewMockError

func NewMockError(ctrl *gomock.Controller) *MockError

NewMockError creates a new mock instance

func (*MockError) EXPECT

func (m *MockError) EXPECT() *MockErrorMockRecorder

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

func (*MockError) Equal

func (m *MockError) Equal(arg0 error) bool

Equal mocks base method

func (*MockError) Error

func (m *MockError) Error() string

Error mocks base method

func (*MockError) Meta

func (m *MockError) Meta() map[string]interface{}

Meta mocks base method

func (*MockError) SetMeta

func (m *MockError) SetMeta(arg0 string, arg1 interface{})

SetMeta mocks base method

func (*MockError) String

func (m *MockError) String() string

String mocks base method

func (*MockError) Unwrap

func (m *MockError) Unwrap() error

Unwrap mocks base method

type MockErrorMockRecorder

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

MockErrorMockRecorder is the mock recorder for MockError

func (*MockErrorMockRecorder) Equal

func (mr *MockErrorMockRecorder) Equal(arg0 interface{}) *gomock.Call

Equal indicates an expected call of Equal

func (*MockErrorMockRecorder) Error

func (mr *MockErrorMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error

func (*MockErrorMockRecorder) Meta

func (mr *MockErrorMockRecorder) Meta() *gomock.Call

Meta indicates an expected call of Meta

func (*MockErrorMockRecorder) SetMeta

func (mr *MockErrorMockRecorder) SetMeta(arg0, arg1 interface{}) *gomock.Call

SetMeta indicates an expected call of SetMeta

func (*MockErrorMockRecorder) String

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

String indicates an expected call of String

func (*MockErrorMockRecorder) Unwrap

func (mr *MockErrorMockRecorder) Unwrap() *gomock.Call

Unwrap indicates an expected call of Unwrap

type MockErrorRender

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

MockErrorRender is a mock of ErrorRender interface

func NewMockErrorRender

func NewMockErrorRender(ctrl *gomock.Controller) *MockErrorRender

NewMockErrorRender creates a new mock instance

func (*MockErrorRender) EXPECT

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

func (*MockErrorRender) Render

func (m *MockErrorRender) Render(arg0 int, arg1 contract.Context) error

Render mocks base method

type MockErrorRenderMockRecorder

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

MockErrorRenderMockRecorder is the mock recorder for MockErrorRender

func (*MockErrorRenderMockRecorder) Render

func (mr *MockErrorRenderMockRecorder) Render(arg0, arg1 interface{}) *gomock.Call

Render indicates an expected call of Render

type MockErrorStack

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

MockErrorStack is a mock of ErrorStack interface

func NewMockErrorStack

func NewMockErrorStack(ctrl *gomock.Controller) *MockErrorStack

NewMockErrorStack creates a new mock instance

func (*MockErrorStack) EXPECT

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

func (*MockErrorStack) Stack

func (m *MockErrorStack) Stack() []uintptr

Stack mocks base method

func (*MockErrorStack) StackString

func (m *MockErrorStack) StackString() string

StackString mocks base method

type MockErrorStackMockRecorder

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

MockErrorStackMockRecorder is the mock recorder for MockErrorStack

func (*MockErrorStackMockRecorder) Stack

func (mr *MockErrorStackMockRecorder) Stack() *gomock.Call

Stack indicates an expected call of Stack

func (*MockErrorStackMockRecorder) StackString

func (mr *MockErrorStackMockRecorder) StackString() *gomock.Call

StackString indicates an expected call of StackString

type MockHttpProtocol

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

MockHttpProtocol is a mock of HttpProtocol interface

func NewMockHttpProtocol

func NewMockHttpProtocol(ctrl *gomock.Controller) *MockHttpProtocol

NewMockHttpProtocol creates a new mock instance

func (*MockHttpProtocol) Accept

func (m *MockHttpProtocol) Accept() []string

Accept mocks base method

func (*MockHttpProtocol) Application

func (m *MockHttpProtocol) Application() contract.Application

Application mocks base method

func (*MockHttpProtocol) ClientIP

func (m *MockHttpProtocol) ClientIP() string

ClientIP mocks base method

func (*MockHttpProtocol) Clone

func (m *MockHttpProtocol) Clone() contract.Protocol

Clone mocks base method

func (*MockHttpProtocol) ContentType

func (m *MockHttpProtocol) ContentType() string

ContentType mocks base method

func (*MockHttpProtocol) Cookie

func (m *MockHttpProtocol) Cookie(arg0 string) (string, error)

Cookie mocks base method

func (*MockHttpProtocol) EXPECT

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

func (*MockHttpProtocol) Header

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

Header mocks base method

func (*MockHttpProtocol) IsAccept

func (m *MockHttpProtocol) IsAccept(arg0 string) bool

IsAccept mocks base method

func (*MockHttpProtocol) IsContentType

func (m *MockHttpProtocol) IsContentType(arg0 string) bool

IsContentType mocks base method

func (*MockHttpProtocol) IsMethod

func (m *MockHttpProtocol) IsMethod(arg0 string) bool

IsMethod mocks base method

func (*MockHttpProtocol) Message

func (m *MockHttpProtocol) Message() ([]byte, error)

Message mocks base method

func (*MockHttpProtocol) Metadata

func (m *MockHttpProtocol) Metadata() map[string][]string

Metadata mocks base method

func (*MockHttpProtocol) Name

func (m *MockHttpProtocol) Name() string

Name mocks base method

func (*MockHttpProtocol) Param

func (m *MockHttpProtocol) Param(arg0 string) httprouter.Param

Param mocks base method

func (*MockHttpProtocol) Params

func (m *MockHttpProtocol) Params() []httprouter.Param

Params mocks base method

func (*MockHttpProtocol) Read

func (m *MockHttpProtocol) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockHttpProtocol) Redirect

func (m *MockHttpProtocol) Redirect(arg0 int, arg1 string)

Redirect mocks base method

func (*MockHttpProtocol) Request

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

Request mocks base method

func (*MockHttpProtocol) ResponseWriter

func (m *MockHttpProtocol) ResponseWriter() contract.HttpWrapResponseWriter

ResponseWriter mocks base method

func (*MockHttpProtocol) Route

func (m *MockHttpProtocol) Route() contract.HttpRoute

Route mocks base method

func (*MockHttpProtocol) Session

func (m *MockHttpProtocol) Session() contract.Session

Session mocks base method

func (*MockHttpProtocol) SessionValue

func (m *MockHttpProtocol) SessionValue(arg0 string) interface{}

SessionValue mocks base method

func (*MockHttpProtocol) SetCookie

func (m *MockHttpProtocol) SetCookie(arg0 *http.Cookie)

SetCookie mocks base method

func (*MockHttpProtocol) SetHeader

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

SetHeader mocks base method

func (*MockHttpProtocol) SetParams

func (m *MockHttpProtocol) SetParams(arg0 []httprouter.Param)

SetParams mocks base method

func (*MockHttpProtocol) SetRoute

func (m *MockHttpProtocol) SetRoute(arg0 contract.HttpRoute)

SetRoute mocks base method

func (*MockHttpProtocol) SetSession

func (m *MockHttpProtocol) SetSession(arg0 contract.Session)

SetSession mocks base method

func (*MockHttpProtocol) SetStatus

func (m *MockHttpProtocol) SetStatus(arg0 int)

SetStatus mocks base method

func (*MockHttpProtocol) Values

func (m *MockHttpProtocol) Values() map[string][]string

Values mocks base method

func (*MockHttpProtocol) Write

func (m *MockHttpProtocol) Write(arg0 []byte) (int, error)

Write mocks base method

type MockHttpProtocolMockRecorder

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

MockHttpProtocolMockRecorder is the mock recorder for MockHttpProtocol

func (*MockHttpProtocolMockRecorder) Accept

Accept indicates an expected call of Accept

func (*MockHttpProtocolMockRecorder) Application

func (mr *MockHttpProtocolMockRecorder) Application() *gomock.Call

Application indicates an expected call of Application

func (*MockHttpProtocolMockRecorder) ClientIP

func (mr *MockHttpProtocolMockRecorder) ClientIP() *gomock.Call

ClientIP indicates an expected call of ClientIP

func (*MockHttpProtocolMockRecorder) Clone

Clone indicates an expected call of Clone

func (*MockHttpProtocolMockRecorder) ContentType

func (mr *MockHttpProtocolMockRecorder) ContentType() *gomock.Call

ContentType indicates an expected call of ContentType

func (*MockHttpProtocolMockRecorder) Cookie

func (mr *MockHttpProtocolMockRecorder) Cookie(arg0 interface{}) *gomock.Call

Cookie indicates an expected call of Cookie

func (*MockHttpProtocolMockRecorder) Header

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

Header indicates an expected call of Header

func (*MockHttpProtocolMockRecorder) IsAccept

func (mr *MockHttpProtocolMockRecorder) IsAccept(arg0 interface{}) *gomock.Call

IsAccept indicates an expected call of IsAccept

func (*MockHttpProtocolMockRecorder) IsContentType

func (mr *MockHttpProtocolMockRecorder) IsContentType(arg0 interface{}) *gomock.Call

IsContentType indicates an expected call of IsContentType

func (*MockHttpProtocolMockRecorder) IsMethod

func (mr *MockHttpProtocolMockRecorder) IsMethod(arg0 interface{}) *gomock.Call

IsMethod indicates an expected call of IsMethod

func (*MockHttpProtocolMockRecorder) Message

func (mr *MockHttpProtocolMockRecorder) Message() *gomock.Call

Message indicates an expected call of Message

func (*MockHttpProtocolMockRecorder) Metadata

func (mr *MockHttpProtocolMockRecorder) Metadata() *gomock.Call

Metadata indicates an expected call of Metadata

func (*MockHttpProtocolMockRecorder) Name

Name indicates an expected call of Name

func (*MockHttpProtocolMockRecorder) Param

func (mr *MockHttpProtocolMockRecorder) Param(arg0 interface{}) *gomock.Call

Param indicates an expected call of Param

func (*MockHttpProtocolMockRecorder) Params

Params indicates an expected call of Params

func (*MockHttpProtocolMockRecorder) Read

func (mr *MockHttpProtocolMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockHttpProtocolMockRecorder) Redirect

func (mr *MockHttpProtocolMockRecorder) Redirect(arg0, arg1 interface{}) *gomock.Call

Redirect indicates an expected call of Redirect

func (*MockHttpProtocolMockRecorder) Request

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

Request indicates an expected call of Request

func (*MockHttpProtocolMockRecorder) ResponseWriter

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

ResponseWriter indicates an expected call of ResponseWriter

func (*MockHttpProtocolMockRecorder) Route

Route indicates an expected call of Route

func (*MockHttpProtocolMockRecorder) Session

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

Session indicates an expected call of Session

func (*MockHttpProtocolMockRecorder) SessionValue

func (mr *MockHttpProtocolMockRecorder) SessionValue(arg0 interface{}) *gomock.Call

SessionValue indicates an expected call of SessionValue

func (*MockHttpProtocolMockRecorder) SetCookie

func (mr *MockHttpProtocolMockRecorder) SetCookie(arg0 interface{}) *gomock.Call

SetCookie indicates an expected call of SetCookie

func (*MockHttpProtocolMockRecorder) SetHeader

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

SetHeader indicates an expected call of SetHeader

func (*MockHttpProtocolMockRecorder) SetParams

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

SetParams indicates an expected call of SetParams

func (*MockHttpProtocolMockRecorder) SetRoute

func (mr *MockHttpProtocolMockRecorder) SetRoute(arg0 interface{}) *gomock.Call

SetRoute indicates an expected call of SetRoute

func (*MockHttpProtocolMockRecorder) SetSession

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

SetSession indicates an expected call of SetSession

func (*MockHttpProtocolMockRecorder) SetStatus

func (mr *MockHttpProtocolMockRecorder) SetStatus(arg0 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

func (*MockHttpProtocolMockRecorder) Values

Values indicates an expected call of Values

func (*MockHttpProtocolMockRecorder) Write

func (mr *MockHttpProtocolMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockHttpRoute

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

MockHttpRoute is a mock of HttpRoute interface

func NewMockHttpRoute

func NewMockHttpRoute(ctrl *gomock.Controller) *MockHttpRoute

NewMockHttpRoute creates a new mock instance

func (*MockHttpRoute) EXPECT

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

func (*MockHttpRoute) Handlers

func (m *MockHttpRoute) Handlers() []contract.ContextHandler

Handlers mocks base method

func (*MockHttpRoute) Name

func (m *MockHttpRoute) Name(arg0 string) contract.HttpRoute

Name mocks base method

func (*MockHttpRoute) Use

Use mocks base method

type MockHttpRouteGroup

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

MockHttpRouteGroup is a mock of HttpRouteGroup interface

func NewMockHttpRouteGroup

func NewMockHttpRouteGroup(ctrl *gomock.Controller) *MockHttpRouteGroup

NewMockHttpRouteGroup creates a new mock instance

func (*MockHttpRouteGroup) DELETE

DELETE mocks base method

func (*MockHttpRouteGroup) EXPECT

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

func (*MockHttpRouteGroup) GET

GET mocks base method

func (*MockHttpRouteGroup) Group

Group mocks base method

func (*MockHttpRouteGroup) Handler

func (m *MockHttpRouteGroup) Handler(arg0, arg1 string, arg2 http.HandlerFunc)

Handler mocks base method

func (*MockHttpRouteGroup) OPTIONS

OPTIONS mocks base method

func (*MockHttpRouteGroup) PATCH

PATCH mocks base method

func (*MockHttpRouteGroup) POST

POST mocks base method

func (*MockHttpRouteGroup) PUT

PUT mocks base method

func (*MockHttpRouteGroup) Prefix

Prefix mocks base method

func (*MockHttpRouteGroup) Use

Use mocks base method

type MockHttpRouteGroupMockRecorder

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

MockHttpRouteGroupMockRecorder is the mock recorder for MockHttpRouteGroup

func (*MockHttpRouteGroupMockRecorder) DELETE

func (mr *MockHttpRouteGroupMockRecorder) DELETE(arg0, arg1 interface{}) *gomock.Call

DELETE indicates an expected call of DELETE

func (*MockHttpRouteGroupMockRecorder) GET

func (mr *MockHttpRouteGroupMockRecorder) GET(arg0, arg1 interface{}) *gomock.Call

GET indicates an expected call of GET

func (*MockHttpRouteGroupMockRecorder) Group

func (mr *MockHttpRouteGroupMockRecorder) Group(arg0 interface{}) *gomock.Call

Group indicates an expected call of Group

func (*MockHttpRouteGroupMockRecorder) Handler

func (mr *MockHttpRouteGroupMockRecorder) Handler(arg0, arg1, arg2 interface{}) *gomock.Call

Handler indicates an expected call of Handler

func (*MockHttpRouteGroupMockRecorder) OPTIONS

func (mr *MockHttpRouteGroupMockRecorder) OPTIONS(arg0, arg1 interface{}) *gomock.Call

OPTIONS indicates an expected call of OPTIONS

func (*MockHttpRouteGroupMockRecorder) PATCH

func (mr *MockHttpRouteGroupMockRecorder) PATCH(arg0, arg1 interface{}) *gomock.Call

PATCH indicates an expected call of PATCH

func (*MockHttpRouteGroupMockRecorder) POST

func (mr *MockHttpRouteGroupMockRecorder) POST(arg0, arg1 interface{}) *gomock.Call

POST indicates an expected call of POST

func (*MockHttpRouteGroupMockRecorder) PUT

func (mr *MockHttpRouteGroupMockRecorder) PUT(arg0, arg1 interface{}) *gomock.Call

PUT indicates an expected call of PUT

func (*MockHttpRouteGroupMockRecorder) Prefix

func (mr *MockHttpRouteGroupMockRecorder) Prefix(arg0 interface{}) *gomock.Call

Prefix indicates an expected call of Prefix

func (*MockHttpRouteGroupMockRecorder) Use

func (mr *MockHttpRouteGroupMockRecorder) Use(arg0 ...interface{}) *gomock.Call

Use indicates an expected call of Use

type MockHttpRouteMockRecorder

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

MockHttpRouteMockRecorder is the mock recorder for MockHttpRoute

func (*MockHttpRouteMockRecorder) Handlers

func (mr *MockHttpRouteMockRecorder) Handlers() *gomock.Call

Handlers indicates an expected call of Handlers

func (*MockHttpRouteMockRecorder) Name

func (mr *MockHttpRouteMockRecorder) Name(arg0 interface{}) *gomock.Call

Name indicates an expected call of Name

func (*MockHttpRouteMockRecorder) Use

func (mr *MockHttpRouteMockRecorder) Use(arg0 ...interface{}) *gomock.Call

Use indicates an expected call of Use

type MockHttpRouter

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

MockHttpRouter is a mock of HttpRouter interface

func NewMockHttpRouter

func NewMockHttpRouter(ctrl *gomock.Controller) *MockHttpRouter

NewMockHttpRouter creates a new mock instance

func (*MockHttpRouter) DELETE

DELETE mocks base method

func (*MockHttpRouter) EXPECT

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

func (*MockHttpRouter) GET

GET mocks base method

func (*MockHttpRouter) Group

Group mocks base method

func (*MockHttpRouter) Handler

func (m *MockHttpRouter) Handler(arg0, arg1 string, arg2 http.HandlerFunc)

Handler mocks base method

func (*MockHttpRouter) HttpRouter

func (m *MockHttpRouter) HttpRouter() *httprouter.Router

HttpRouter mocks base method

func (*MockHttpRouter) OPTIONS

OPTIONS mocks base method

func (*MockHttpRouter) PATCH

PATCH mocks base method

func (*MockHttpRouter) POST

POST mocks base method

func (*MockHttpRouter) PUT

PUT mocks base method

func (*MockHttpRouter) ServeHTTP

func (m *MockHttpRouter) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)

ServeHTTP mocks base method

func (*MockHttpRouter) Static

func (m *MockHttpRouter) Static(arg0, arg1 string) contract.HttpRouter

Static mocks base method

type MockHttpRouterMockRecorder

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

MockHttpRouterMockRecorder is the mock recorder for MockHttpRouter

func (*MockHttpRouterMockRecorder) DELETE

func (mr *MockHttpRouterMockRecorder) DELETE(arg0, arg1 interface{}) *gomock.Call

DELETE indicates an expected call of DELETE

func (*MockHttpRouterMockRecorder) GET

func (mr *MockHttpRouterMockRecorder) GET(arg0, arg1 interface{}) *gomock.Call

GET indicates an expected call of GET

func (*MockHttpRouterMockRecorder) Group

func (mr *MockHttpRouterMockRecorder) Group(arg0 interface{}) *gomock.Call

Group indicates an expected call of Group

func (*MockHttpRouterMockRecorder) Handler

func (mr *MockHttpRouterMockRecorder) Handler(arg0, arg1, arg2 interface{}) *gomock.Call

Handler indicates an expected call of Handler

func (*MockHttpRouterMockRecorder) HttpRouter

func (mr *MockHttpRouterMockRecorder) HttpRouter() *gomock.Call

HttpRouter indicates an expected call of HttpRouter

func (*MockHttpRouterMockRecorder) OPTIONS

func (mr *MockHttpRouterMockRecorder) OPTIONS(arg0, arg1 interface{}) *gomock.Call

OPTIONS indicates an expected call of OPTIONS

func (*MockHttpRouterMockRecorder) PATCH

func (mr *MockHttpRouterMockRecorder) PATCH(arg0, arg1 interface{}) *gomock.Call

PATCH indicates an expected call of PATCH

func (*MockHttpRouterMockRecorder) POST

func (mr *MockHttpRouterMockRecorder) POST(arg0, arg1 interface{}) *gomock.Call

POST indicates an expected call of POST

func (*MockHttpRouterMockRecorder) PUT

func (mr *MockHttpRouterMockRecorder) PUT(arg0, arg1 interface{}) *gomock.Call

PUT indicates an expected call of PUT

func (*MockHttpRouterMockRecorder) ServeHTTP

func (mr *MockHttpRouterMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP

func (*MockHttpRouterMockRecorder) Static

func (mr *MockHttpRouterMockRecorder) Static(arg0, arg1 interface{}) *gomock.Call

Static indicates an expected call of Static

type MockHttpWrapResponseWriter

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

MockHttpWrapResponseWriter is a mock of HttpWrapResponseWriter interface

func NewMockHttpWrapResponseWriter

func NewMockHttpWrapResponseWriter(ctrl *gomock.Controller) *MockHttpWrapResponseWriter

NewMockHttpWrapResponseWriter creates a new mock instance

func (*MockHttpWrapResponseWriter) EXPECT

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

func (*MockHttpWrapResponseWriter) Header

Header mocks base method

func (*MockHttpWrapResponseWriter) StatusCode

func (m *MockHttpWrapResponseWriter) StatusCode() int

StatusCode mocks base method

func (*MockHttpWrapResponseWriter) Write

func (m *MockHttpWrapResponseWriter) Write(arg0 []byte) (int, error)

Write mocks base method

func (*MockHttpWrapResponseWriter) WriteHeader

func (m *MockHttpWrapResponseWriter) WriteHeader(arg0 int)

WriteHeader mocks base method

type MockHttpWrapResponseWriterMockRecorder

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

MockHttpWrapResponseWriterMockRecorder is the mock recorder for MockHttpWrapResponseWriter

func (*MockHttpWrapResponseWriterMockRecorder) Header

Header indicates an expected call of Header

func (*MockHttpWrapResponseWriterMockRecorder) StatusCode

StatusCode indicates an expected call of StatusCode

func (*MockHttpWrapResponseWriterMockRecorder) Write

func (mr *MockHttpWrapResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockHttpWrapResponseWriterMockRecorder) WriteHeader

func (mr *MockHttpWrapResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call

WriteHeader indicates an expected call of WriteHeader

type MockLoggable

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

MockLoggable is a mock of Loggable interface

func NewMockLoggable

func NewMockLoggable(ctrl *gomock.Controller) *MockLoggable

NewMockLoggable creates a new mock instance

func (*MockLoggable) Debug

func (m *MockLoggable) Debug(arg0 string, arg1 ...interface{})

Debug mocks base method

func (*MockLoggable) EXPECT

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

func (*MockLoggable) Error

func (m *MockLoggable) Error(arg0 string, arg1 ...interface{})

Error mocks base method

func (*MockLoggable) Fatal

func (m *MockLoggable) Fatal(arg0 string, arg1 ...interface{})

Fatal mocks base method

func (*MockLoggable) Info

func (m *MockLoggable) Info(arg0 string, arg1 ...interface{})

Info mocks base method

func (*MockLoggable) Panic

func (m *MockLoggable) Panic(arg0 string, arg1 ...interface{})

Panic mocks base method

func (*MockLoggable) Warn

func (m *MockLoggable) Warn(arg0 string, arg1 ...interface{})

Warn mocks base method

func (*MockLoggable) With

func (m *MockLoggable) With(arg0 ...interface{}) contract.Loggable

With mocks base method

func (*MockLoggable) Writer

func (m *MockLoggable) Writer(arg0 string) io.Writer

Writer mocks base method

type MockLoggableMockRecorder

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

MockLoggableMockRecorder is the mock recorder for MockLoggable

func (*MockLoggableMockRecorder) Debug

func (mr *MockLoggableMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debug indicates an expected call of Debug

func (*MockLoggableMockRecorder) Error

func (mr *MockLoggableMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Error indicates an expected call of Error

func (*MockLoggableMockRecorder) Fatal

func (mr *MockLoggableMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal

func (*MockLoggableMockRecorder) Info

func (mr *MockLoggableMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockLoggableMockRecorder) Panic

func (mr *MockLoggableMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Panic indicates an expected call of Panic

func (*MockLoggableMockRecorder) Warn

func (mr *MockLoggableMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warn indicates an expected call of Warn

func (*MockLoggableMockRecorder) With

func (mr *MockLoggableMockRecorder) With(arg0 ...interface{}) *gomock.Call

With indicates an expected call of With

func (*MockLoggableMockRecorder) Writer

func (mr *MockLoggableMockRecorder) Writer(arg0 interface{}) *gomock.Call

Writer indicates an expected call of Writer

type MockProtocol

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

MockProtocol is a mock of Protocol interface

func NewMockProtocol

func NewMockProtocol(ctrl *gomock.Controller) *MockProtocol

NewMockProtocol creates a new mock instance

func (*MockProtocol) Application

func (m *MockProtocol) Application() contract.Application

Application mocks base method

func (*MockProtocol) Clone

func (m *MockProtocol) Clone() contract.Protocol

Clone mocks base method

func (*MockProtocol) EXPECT

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

func (*MockProtocol) Message

func (m *MockProtocol) Message() ([]byte, error)

Message mocks base method

func (*MockProtocol) Metadata

func (m *MockProtocol) Metadata() map[string][]string

Metadata mocks base method

func (*MockProtocol) Name

func (m *MockProtocol) Name() string

Name mocks base method

func (*MockProtocol) Read

func (m *MockProtocol) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockProtocol) Values

func (m *MockProtocol) Values() map[string][]string

Values mocks base method

func (*MockProtocol) Write

func (m *MockProtocol) Write(arg0 []byte) (int, error)

Write mocks base method

type MockProtocolMockRecorder

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

MockProtocolMockRecorder is the mock recorder for MockProtocol

func (*MockProtocolMockRecorder) Application

func (mr *MockProtocolMockRecorder) Application() *gomock.Call

Application indicates an expected call of Application

func (*MockProtocolMockRecorder) Clone

func (mr *MockProtocolMockRecorder) Clone() *gomock.Call

Clone indicates an expected call of Clone

func (*MockProtocolMockRecorder) Message

func (mr *MockProtocolMockRecorder) Message() *gomock.Call

Message indicates an expected call of Message

func (*MockProtocolMockRecorder) Metadata

func (mr *MockProtocolMockRecorder) Metadata() *gomock.Call

Metadata indicates an expected call of Metadata

func (*MockProtocolMockRecorder) Name

func (mr *MockProtocolMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockProtocolMockRecorder) Read

func (mr *MockProtocolMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockProtocolMockRecorder) Values

func (mr *MockProtocolMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values

func (*MockProtocolMockRecorder) Write

func (mr *MockProtocolMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockRender

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

MockRender is a mock of Render interface

func NewMockRender

func NewMockRender(ctrl *gomock.Controller) *MockRender

NewMockRender creates a new mock instance

func (*MockRender) EXPECT

func (m *MockRender) EXPECT() *MockRenderMockRecorder

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

func (*MockRender) Render

func (m *MockRender) Render(arg0 contract.Protocol, arg1 int, arg2 interface{}) error

Render mocks base method

type MockRenderMockRecorder

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

MockRenderMockRecorder is the mock recorder for MockRender

func (*MockRenderMockRecorder) Render

func (mr *MockRenderMockRecorder) Render(arg0, arg1, arg2 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