Documentation ¶
Overview ¶
Package mock_log is a generated GoMock package.
Index ¶
- type MockHandler
- type MockHandlerMockRecorder
- type MockLogger
- func (m *MockLogger) Crit(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 string, arg1 ...interface{})
- func (m *MockLogger) GetHandler() log.Handler
- func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
- func (m *MockLogger) New(arg0 ...interface{}) log.Logger
- func (m *MockLogger) SetHandler(arg0 log.Handler)
- func (m *MockLogger) Trace(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Warn(arg0 string, arg1 ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Crit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) GetHandler() *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) New(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) SetHandler(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Trace(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler
func (*MockHandlerMockRecorder) Log ¶
func (mr *MockHandlerMockRecorder) Log(arg0 interface{}) *gomock.Call
Log indicates an expected call of Log
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance
func (*MockLogger) Crit ¶
func (m *MockLogger) Crit(arg0 string, arg1 ...interface{})
Crit mocks base method
func (*MockLogger) Debug ¶
func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})
Debug mocks base method
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogger) Error ¶
func (m *MockLogger) Error(arg0 string, arg1 ...interface{})
Error mocks base method
func (*MockLogger) GetHandler ¶
func (m *MockLogger) GetHandler() log.Handler
GetHandler mocks base method
func (*MockLogger) Info ¶
func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
Info mocks base method
func (*MockLogger) New ¶
func (m *MockLogger) New(arg0 ...interface{}) log.Logger
New mocks base method
func (*MockLogger) SetHandler ¶
func (m *MockLogger) SetHandler(arg0 log.Handler)
SetHandler mocks base method
func (*MockLogger) Trace ¶
func (m *MockLogger) Trace(arg0 string, arg1 ...interface{})
Trace mocks base method
func (*MockLogger) Warn ¶
func (m *MockLogger) Warn(arg0 string, arg1 ...interface{})
Warn mocks base method
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) Crit ¶
func (mr *MockLoggerMockRecorder) Crit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Crit indicates an expected call of Crit
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockLoggerMockRecorder) GetHandler ¶
func (mr *MockLoggerMockRecorder) GetHandler() *gomock.Call
GetHandler indicates an expected call of GetHandler
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockLoggerMockRecorder) New ¶
func (mr *MockLoggerMockRecorder) New(arg0 ...interface{}) *gomock.Call
New indicates an expected call of New
func (*MockLoggerMockRecorder) SetHandler ¶
func (mr *MockLoggerMockRecorder) SetHandler(arg0 interface{}) *gomock.Call
SetHandler indicates an expected call of SetHandler
func (*MockLoggerMockRecorder) Trace ¶
func (mr *MockLoggerMockRecorder) Trace(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Trace indicates an expected call of Trace
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warn indicates an expected call of Warn