Documentation ¶
Overview ¶
Package mock_converter is a generated GoMock package.
Package mock_http is a generated GoMock package.
Index ¶
- type MockCloseNotifier
- type MockCloseNotifierMockRecorder
- type MockFlusher
- type MockFlusherMockRecorder
- type MockHandler
- type MockHandlerMockRecorder
- type MockHijacker
- type MockHijackerMockRecorder
- type MockResponseWriter
- type MockResponseWriterMockRecorder
- type MockWriter
- type MockWriterMockRecorder
- type MockcloseWriter
- type MockcloseWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloseNotifier ¶
type MockCloseNotifier struct {
// contains filtered or unexported fields
}
MockCloseNotifier is a mock of CloseNotifier interface
func NewMockCloseNotifier ¶
func NewMockCloseNotifier(ctrl *gomock.Controller) *MockCloseNotifier
NewMockCloseNotifier creates a new mock instance
func (*MockCloseNotifier) CloseNotify ¶
func (m *MockCloseNotifier) CloseNotify() <-chan bool
CloseNotify mocks base method
func (*MockCloseNotifier) EXPECT ¶
func (m *MockCloseNotifier) EXPECT() *MockCloseNotifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCloseNotifierMockRecorder ¶
type MockCloseNotifierMockRecorder struct {
// contains filtered or unexported fields
}
MockCloseNotifierMockRecorder is the mock recorder for MockCloseNotifier
func (*MockCloseNotifierMockRecorder) CloseNotify ¶
func (mr *MockCloseNotifierMockRecorder) CloseNotify() *gomock.Call
CloseNotify indicates an expected call of CloseNotify
type MockFlusher ¶
type MockFlusher struct {
// contains filtered or unexported fields
}
MockFlusher is a mock of Flusher interface
func NewMockFlusher ¶
func NewMockFlusher(ctrl *gomock.Controller) *MockFlusher
NewMockFlusher creates a new mock instance
func (*MockFlusher) EXPECT ¶
func (m *MockFlusher) EXPECT() *MockFlusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockFlusherMockRecorder ¶
type MockFlusherMockRecorder struct {
// contains filtered or unexported fields
}
MockFlusherMockRecorder is the mock recorder for MockFlusher
func (*MockFlusherMockRecorder) Flush ¶
func (mr *MockFlusherMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush
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
func (*MockHandler) ServeHTTP ¶
func (m *MockHandler) ServeHTTP(arg0 x.ResponseWriter, arg1 *x.Request)
ServeHTTP mocks base method
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler
func (*MockHandlerMockRecorder) ServeHTTP ¶
func (mr *MockHandlerMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
ServeHTTP indicates an expected call of ServeHTTP
type MockHijacker ¶
type MockHijacker struct {
// contains filtered or unexported fields
}
MockHijacker is a mock of Hijacker interface
func NewMockHijacker ¶
func NewMockHijacker(ctrl *gomock.Controller) *MockHijacker
NewMockHijacker creates a new mock instance
func (*MockHijacker) EXPECT ¶
func (m *MockHijacker) EXPECT() *MockHijackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHijacker) Hijack ¶
func (m *MockHijacker) Hijack() (net.Conn, *bufio.ReadWriter, error)
Hijack mocks base method
type MockHijackerMockRecorder ¶
type MockHijackerMockRecorder struct {
// contains filtered or unexported fields
}
MockHijackerMockRecorder is the mock recorder for MockHijacker
func (*MockHijackerMockRecorder) Hijack ¶
func (mr *MockHijackerMockRecorder) Hijack() *gomock.Call
Hijack indicates an expected call of Hijack
type MockResponseWriter ¶
type MockResponseWriter struct {
// contains filtered or unexported fields
}
MockResponseWriter is a mock of ResponseWriter interface
func NewMockResponseWriter ¶
func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter
NewMockResponseWriter creates a new mock instance
func (*MockResponseWriter) EXPECT ¶
func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResponseWriter) Header ¶
func (m *MockResponseWriter) Header() x.Header
Header mocks base method
func (*MockResponseWriter) Write ¶
func (m *MockResponseWriter) Write(arg0 []byte) (int, error)
Write mocks base method
func (*MockResponseWriter) WriteHeader ¶
func (m *MockResponseWriter) WriteHeader(statusCode int)
WriteHeader mocks base method
type MockResponseWriterMockRecorder ¶
type MockResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter
func (*MockResponseWriterMockRecorder) Header ¶
func (mr *MockResponseWriterMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockResponseWriterMockRecorder) Write ¶
func (mr *MockResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockResponseWriterMockRecorder) WriteHeader ¶
func (mr *MockResponseWriterMockRecorder) WriteHeader(statusCode interface{}) *gomock.Call
WriteHeader indicates an expected call of WriteHeader
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter
func (*MockWriterMockRecorder) Write ¶
func (mr *MockWriterMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write
type MockcloseWriter ¶
type MockcloseWriter struct {
// contains filtered or unexported fields
}
MockcloseWriter is a mock of closeWriter interface
func NewMockcloseWriter ¶
func NewMockcloseWriter(ctrl *gomock.Controller) *MockcloseWriter
NewMockcloseWriter creates a new mock instance
func (*MockcloseWriter) CloseWrite ¶
func (m *MockcloseWriter) CloseWrite() error
CloseWrite mocks base method
func (*MockcloseWriter) EXPECT ¶
func (m *MockcloseWriter) EXPECT() *MockcloseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockcloseWriterMockRecorder ¶
type MockcloseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockcloseWriterMockRecorder is the mock recorder for MockcloseWriter
func (*MockcloseWriterMockRecorder) CloseWrite ¶
func (mr *MockcloseWriterMockRecorder) CloseWrite() *gomock.Call
CloseWrite indicates an expected call of CloseWrite