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 ¶
- type MockApplication
- func (m *MockApplication) Bind(arg0 string, arg1 interface{}, arg2 ...support.Option)
- func (m *MockApplication) Boot()
- func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
- func (m *MockApplication) Flush()
- func (m *MockApplication) Get(arg0 string, arg1 ...interface{}) interface{}
- func (m *MockApplication) GetProvider(arg0 string) contract.Provider
- func (m *MockApplication) Has(arg0 string) bool
- func (m *MockApplication) HasProvider(arg0 string) bool
- func (m *MockApplication) IsDevelopment() bool
- func (m *MockApplication) IsProduction() bool
- func (m *MockApplication) IsTesting() bool
- func (m *MockApplication) Make(arg0 interface{}, arg1 ...interface{}) interface{}
- func (m *MockApplication) Mode() byte
- func (m *MockApplication) Register(arg0 contract.Provider, arg1 bool)
- func (m *MockApplication) RegisterMultiple(arg0 []contract.Provider, arg1 bool)
- func (m *MockApplication) Remove(arg0 string)
- func (m *MockApplication) Reset()
- func (m *MockApplication) Resolve(arg0 interface{}, arg1 ...interface{}) interface{}
- func (m *MockApplication) SetMode(arg0 byte)
- func (m *MockApplication) Version() string
- type MockApplicationMockRecorder
- func (mr *MockApplicationMockRecorder) Bind(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Boot() *gomock.Call
- func (mr *MockApplicationMockRecorder) Flush() *gomock.Call
- func (mr *MockApplicationMockRecorder) Get(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) GetProvider(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) HasProvider(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) IsDevelopment() *gomock.Call
- func (mr *MockApplicationMockRecorder) IsProduction() *gomock.Call
- func (mr *MockApplicationMockRecorder) IsTesting() *gomock.Call
- func (mr *MockApplicationMockRecorder) Make(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Mode() *gomock.Call
- func (mr *MockApplicationMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) RegisterMultiple(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Reset() *gomock.Call
- func (mr *MockApplicationMockRecorder) Resolve(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetMode(arg0 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) Version() *gomock.Call
- type MockContext
- func (m *MockContext) Abort()
- func (m *MockContext) AddEntity(arg0 string, arg1 interface{})
- func (m *MockContext) Application() contract.Application
- func (m *MockContext) Bind(arg0 interface{}) error
- func (m *MockContext) BindValidate(arg0 interface{}) error
- func (m *MockContext) BindWith(arg0 contract.Binding, arg1 interface{}) error
- func (m *MockContext) BindWithValidate(arg0 contract.Binding, arg1 interface{}) error
- func (m *MockContext) Clone() contract.Context
- func (m *MockContext) Current() int
- func (m *MockContext) Deadline() (time.Time, bool)
- func (m *MockContext) Done() <-chan struct{}
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) Entity(arg0 string) *contract.ContextEntity
- func (m *MockContext) Err() error
- func (m *MockContext) Error(arg0 int, arg1 interface{})
- func (m *MockContext) Firmeve() contract.Application
- func (m *MockContext) Get(arg0 string) interface{}
- func (m *MockContext) Handlers() []contract.ContextHandler
- func (m *MockContext) Next()
- func (m *MockContext) Protocol() contract.Protocol
- func (m *MockContext) Render(arg0 int, arg1 interface{}) error
- func (m *MockContext) RenderWith(arg0 int, arg1 contract.Render, arg2 interface{}) error
- func (m *MockContext) Resolve(arg0 interface{}, arg1 ...interface{}) interface{}
- func (m *MockContext) Value(arg0 interface{}) interface{}
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) Abort() *gomock.Call
- func (mr *MockContextMockRecorder) AddEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Application() *gomock.Call
- func (mr *MockContextMockRecorder) Bind(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) BindValidate(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) BindWith(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) BindWithValidate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Clone() *gomock.Call
- func (mr *MockContextMockRecorder) Current() *gomock.Call
- func (mr *MockContextMockRecorder) Deadline() *gomock.Call
- func (mr *MockContextMockRecorder) Done() *gomock.Call
- func (mr *MockContextMockRecorder) Entity(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Err() *gomock.Call
- func (mr *MockContextMockRecorder) Error(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Firmeve() *gomock.Call
- func (mr *MockContextMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Handlers() *gomock.Call
- func (mr *MockContextMockRecorder) Next() *gomock.Call
- func (mr *MockContextMockRecorder) Protocol() *gomock.Call
- func (mr *MockContextMockRecorder) Render(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) RenderWith(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Resolve(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Value(arg0 interface{}) *gomock.Call
- type MockError
- func (m *MockError) EXPECT() *MockErrorMockRecorder
- func (m *MockError) Equal(arg0 error) bool
- func (m *MockError) Error() string
- func (m *MockError) Meta() map[string]interface{}
- func (m *MockError) SetMeta(arg0 string, arg1 interface{})
- func (m *MockError) String() string
- func (m *MockError) Unwrap() error
- type MockErrorMockRecorder
- func (mr *MockErrorMockRecorder) Equal(arg0 interface{}) *gomock.Call
- func (mr *MockErrorMockRecorder) Error() *gomock.Call
- func (mr *MockErrorMockRecorder) Meta() *gomock.Call
- func (mr *MockErrorMockRecorder) SetMeta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockErrorMockRecorder) String() *gomock.Call
- func (mr *MockErrorMockRecorder) Unwrap() *gomock.Call
- type MockErrorRender
- type MockErrorRenderMockRecorder
- type MockErrorStack
- type MockErrorStackMockRecorder
- type MockHttpProtocol
- func (m *MockHttpProtocol) Accept() []string
- func (m *MockHttpProtocol) Application() contract.Application
- func (m *MockHttpProtocol) ClientIP() string
- func (m *MockHttpProtocol) Clone() contract.Protocol
- func (m *MockHttpProtocol) ContentType() string
- func (m *MockHttpProtocol) Cookie(arg0 string) (string, error)
- func (m *MockHttpProtocol) EXPECT() *MockHttpProtocolMockRecorder
- func (m *MockHttpProtocol) Header(arg0 string) string
- func (m *MockHttpProtocol) IsAccept(arg0 string) bool
- func (m *MockHttpProtocol) IsContentType(arg0 string) bool
- func (m *MockHttpProtocol) IsMethod(arg0 string) bool
- func (m *MockHttpProtocol) Message() ([]byte, error)
- func (m *MockHttpProtocol) Metadata() map[string][]string
- func (m *MockHttpProtocol) Name() string
- func (m *MockHttpProtocol) Param(arg0 string) httprouter.Param
- func (m *MockHttpProtocol) Params() []httprouter.Param
- func (m *MockHttpProtocol) Read(arg0 []byte) (int, error)
- func (m *MockHttpProtocol) Redirect(arg0 int, arg1 string)
- func (m *MockHttpProtocol) Request() *http.Request
- func (m *MockHttpProtocol) ResponseWriter() contract.HttpWrapResponseWriter
- func (m *MockHttpProtocol) Route() contract.HttpRoute
- func (m *MockHttpProtocol) Session() contract.Session
- func (m *MockHttpProtocol) SessionValue(arg0 string) interface{}
- func (m *MockHttpProtocol) SetCookie(arg0 *http.Cookie)
- func (m *MockHttpProtocol) SetHeader(arg0, arg1 string)
- func (m *MockHttpProtocol) SetParams(arg0 []httprouter.Param)
- func (m *MockHttpProtocol) SetRoute(arg0 contract.HttpRoute)
- func (m *MockHttpProtocol) SetSession(arg0 contract.Session)
- func (m *MockHttpProtocol) SetStatus(arg0 int)
- func (m *MockHttpProtocol) Values() map[string][]string
- func (m *MockHttpProtocol) Write(arg0 []byte) (int, error)
- type MockHttpProtocolMockRecorder
- func (mr *MockHttpProtocolMockRecorder) Accept() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Application() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) ClientIP() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Clone() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) ContentType() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Cookie(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Header(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) IsAccept(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) IsContentType(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) IsMethod(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Message() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Metadata() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Name() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Param(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Params() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Redirect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Request() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) ResponseWriter() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Route() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Session() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SessionValue(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SetCookie(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SetHeader(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SetParams(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SetRoute(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SetSession(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) SetStatus(arg0 interface{}) *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Values() *gomock.Call
- func (mr *MockHttpProtocolMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockHttpRoute
- type MockHttpRouteGroup
- func (m *MockHttpRouteGroup) DELETE(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouteGroup) EXPECT() *MockHttpRouteGroupMockRecorder
- func (m *MockHttpRouteGroup) GET(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouteGroup) Group(arg0 string) contract.HttpRouteGroup
- func (m *MockHttpRouteGroup) Handler(arg0, arg1 string, arg2 http.HandlerFunc)
- func (m *MockHttpRouteGroup) OPTIONS(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouteGroup) PATCH(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouteGroup) POST(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouteGroup) PUT(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouteGroup) Prefix(arg0 string) contract.HttpRouteGroup
- func (m *MockHttpRouteGroup) Use(arg0 ...contract.ContextHandler) contract.HttpRouteGroup
- type MockHttpRouteGroupMockRecorder
- func (mr *MockHttpRouteGroupMockRecorder) DELETE(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) GET(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) Group(arg0 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) Handler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) OPTIONS(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) PATCH(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) POST(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) PUT(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) Prefix(arg0 interface{}) *gomock.Call
- func (mr *MockHttpRouteGroupMockRecorder) Use(arg0 ...interface{}) *gomock.Call
- type MockHttpRouteMockRecorder
- type MockHttpRouter
- func (m *MockHttpRouter) DELETE(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouter) EXPECT() *MockHttpRouterMockRecorder
- func (m *MockHttpRouter) GET(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouter) Group(arg0 string) contract.HttpRouteGroup
- func (m *MockHttpRouter) Handler(arg0, arg1 string, arg2 http.HandlerFunc)
- func (m *MockHttpRouter) HttpRouter() *httprouter.Router
- func (m *MockHttpRouter) OPTIONS(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouter) PATCH(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouter) POST(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouter) PUT(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
- func (m *MockHttpRouter) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
- func (m *MockHttpRouter) Static(arg0, arg1 string) contract.HttpRouter
- type MockHttpRouterMockRecorder
- func (mr *MockHttpRouterMockRecorder) DELETE(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) GET(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) Group(arg0 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) Handler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) HttpRouter() *gomock.Call
- func (mr *MockHttpRouterMockRecorder) OPTIONS(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) PATCH(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) POST(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) PUT(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpRouterMockRecorder) Static(arg0, arg1 interface{}) *gomock.Call
- type MockHttpWrapResponseWriter
- func (m *MockHttpWrapResponseWriter) EXPECT() *MockHttpWrapResponseWriterMockRecorder
- func (m *MockHttpWrapResponseWriter) Header() http.Header
- func (m *MockHttpWrapResponseWriter) StatusCode() int
- func (m *MockHttpWrapResponseWriter) Write(arg0 []byte) (int, error)
- func (m *MockHttpWrapResponseWriter) WriteHeader(arg0 int)
- type MockHttpWrapResponseWriterMockRecorder
- func (mr *MockHttpWrapResponseWriterMockRecorder) Header() *gomock.Call
- func (mr *MockHttpWrapResponseWriterMockRecorder) StatusCode() *gomock.Call
- func (mr *MockHttpWrapResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockHttpWrapResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call
- type MockLoggable
- func (m *MockLoggable) Debug(arg0 string, arg1 ...interface{})
- func (m *MockLoggable) EXPECT() *MockLoggableMockRecorder
- func (m *MockLoggable) Error(arg0 string, arg1 ...interface{})
- func (m *MockLoggable) Fatal(arg0 string, arg1 ...interface{})
- func (m *MockLoggable) Info(arg0 string, arg1 ...interface{})
- func (m *MockLoggable) Panic(arg0 string, arg1 ...interface{})
- func (m *MockLoggable) Warn(arg0 string, arg1 ...interface{})
- func (m *MockLoggable) With(arg0 ...interface{}) contract.Loggable
- func (m *MockLoggable) Writer(arg0 string) io.Writer
- type MockLoggableMockRecorder
- func (mr *MockLoggableMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) With(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggableMockRecorder) Writer(arg0 interface{}) *gomock.Call
- type MockProtocol
- func (m *MockProtocol) Application() contract.Application
- func (m *MockProtocol) Clone() contract.Protocol
- func (m *MockProtocol) EXPECT() *MockProtocolMockRecorder
- func (m *MockProtocol) Message() ([]byte, error)
- func (m *MockProtocol) Metadata() map[string][]string
- func (m *MockProtocol) Name() string
- func (m *MockProtocol) Read(arg0 []byte) (int, error)
- func (m *MockProtocol) Values() map[string][]string
- func (m *MockProtocol) Write(arg0 []byte) (int, error)
- type MockProtocolMockRecorder
- func (mr *MockProtocolMockRecorder) Application() *gomock.Call
- func (mr *MockProtocolMockRecorder) Clone() *gomock.Call
- func (mr *MockProtocolMockRecorder) Message() *gomock.Call
- func (mr *MockProtocolMockRecorder) Metadata() *gomock.Call
- func (mr *MockProtocolMockRecorder) Name() *gomock.Call
- func (mr *MockProtocolMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockProtocolMockRecorder) Values() *gomock.Call
- func (mr *MockProtocolMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockRender
- type MockRenderMockRecorder
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) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) 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) 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) 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 ¶
func (mr *MockApplicationMockRecorder) Boot() *gomock.Call
Boot indicates an expected call of Boot
func (*MockApplicationMockRecorder) Flush ¶
func (mr *MockApplicationMockRecorder) Flush() *gomock.Call
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 ¶
func (mr *MockApplicationMockRecorder) Mode() *gomock.Call
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 ¶
func (mr *MockApplicationMockRecorder) Reset() *gomock.Call
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) 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) Deadline ¶
func (m *MockContext) Deadline() (time.Time, bool)
Deadline 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) 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) Handlers ¶
func (m *MockContext) Handlers() []contract.ContextHandler
Handlers 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
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 ¶
func (m *MockErrorRender) EXPECT() *MockErrorRenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockErrorStack) EXPECT() *MockErrorStackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockHttpProtocol) EXPECT() *MockHttpProtocolMockRecorder
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) 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
type MockHttpProtocolMockRecorder ¶
type MockHttpProtocolMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpProtocolMockRecorder is the mock recorder for MockHttpProtocol
func (*MockHttpProtocolMockRecorder) Accept ¶
func (mr *MockHttpProtocolMockRecorder) Accept() *gomock.Call
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 ¶
func (mr *MockHttpProtocolMockRecorder) Clone() *gomock.Call
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 ¶
func (mr *MockHttpProtocolMockRecorder) Name() *gomock.Call
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 ¶
func (mr *MockHttpProtocolMockRecorder) Params() *gomock.Call
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 ¶
func (mr *MockHttpProtocolMockRecorder) Route() *gomock.Call
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 ¶
func (mr *MockHttpProtocolMockRecorder) Values() *gomock.Call
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 ¶
func (m *MockHttpRoute) EXPECT() *MockHttpRouteMockRecorder
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 ¶
func (m *MockHttpRoute) Use(arg0 ...contract.ContextHandler) contract.HttpRoute
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 ¶
func (m *MockHttpRouteGroup) DELETE(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
DELETE mocks base method
func (*MockHttpRouteGroup) EXPECT ¶
func (m *MockHttpRouteGroup) EXPECT() *MockHttpRouteGroupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHttpRouteGroup) GET ¶
func (m *MockHttpRouteGroup) GET(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
GET mocks base method
func (*MockHttpRouteGroup) Group ¶
func (m *MockHttpRouteGroup) Group(arg0 string) contract.HttpRouteGroup
Group mocks base method
func (*MockHttpRouteGroup) Handler ¶
func (m *MockHttpRouteGroup) Handler(arg0, arg1 string, arg2 http.HandlerFunc)
Handler mocks base method
func (*MockHttpRouteGroup) OPTIONS ¶
func (m *MockHttpRouteGroup) OPTIONS(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
OPTIONS mocks base method
func (*MockHttpRouteGroup) PATCH ¶
func (m *MockHttpRouteGroup) PATCH(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
PATCH mocks base method
func (*MockHttpRouteGroup) POST ¶
func (m *MockHttpRouteGroup) POST(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
POST mocks base method
func (*MockHttpRouteGroup) PUT ¶
func (m *MockHttpRouteGroup) PUT(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
PUT mocks base method
func (*MockHttpRouteGroup) Prefix ¶
func (m *MockHttpRouteGroup) Prefix(arg0 string) contract.HttpRouteGroup
Prefix mocks base method
func (*MockHttpRouteGroup) Use ¶
func (m *MockHttpRouteGroup) Use(arg0 ...contract.ContextHandler) contract.HttpRouteGroup
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 ¶
func (m *MockHttpRouter) DELETE(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
DELETE mocks base method
func (*MockHttpRouter) EXPECT ¶
func (m *MockHttpRouter) EXPECT() *MockHttpRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHttpRouter) GET ¶
func (m *MockHttpRouter) GET(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
GET mocks base method
func (*MockHttpRouter) Group ¶
func (m *MockHttpRouter) Group(arg0 string) contract.HttpRouteGroup
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 ¶
func (m *MockHttpRouter) OPTIONS(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
OPTIONS mocks base method
func (*MockHttpRouter) PATCH ¶
func (m *MockHttpRouter) PATCH(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
PATCH mocks base method
func (*MockHttpRouter) POST ¶
func (m *MockHttpRouter) POST(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
POST mocks base method
func (*MockHttpRouter) PUT ¶
func (m *MockHttpRouter) PUT(arg0 string, arg1 contract.ContextHandler) contract.HttpRoute
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 ¶
func (m *MockHttpWrapResponseWriter) EXPECT() *MockHttpWrapResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHttpWrapResponseWriter) Header ¶
func (m *MockHttpWrapResponseWriter) Header() http.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 ¶
func (mr *MockHttpWrapResponseWriterMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockHttpWrapResponseWriterMockRecorder) StatusCode ¶
func (mr *MockHttpWrapResponseWriterMockRecorder) StatusCode() *gomock.Call
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 ¶
func (m *MockLoggable) EXPECT() *MockLoggableMockRecorder
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
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 ¶
func (m *MockProtocol) EXPECT() *MockProtocolMockRecorder
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) 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
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
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