Documentation ¶
Overview ¶
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 Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a mock of Handler interface
func NewHandler ¶
func NewHandler(ctrl *gomock.Controller) *Handler
NewHandler creates a new mock instance
func (*Handler) EXPECT ¶
func (m *Handler) EXPECT() *HandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type HandlerMockRecorder ¶
type HandlerMockRecorder struct {
// contains filtered or unexported fields
}
HandlerMockRecorder is the mock recorder for Handler
func (*HandlerMockRecorder) ServeHTTP ¶
func (mr *HandlerMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
ServeHTTP indicates an expected call of ServeHTTP
type ResponseWriter ¶
type ResponseWriter struct {
// contains filtered or unexported fields
}
ResponseWriter is a mock of ResponseWriter interface
func NewResponseWriter ¶
func NewResponseWriter(ctrl *gomock.Controller) *ResponseWriter
NewResponseWriter creates a new mock instance
func (*ResponseWriter) EXPECT ¶
func (m *ResponseWriter) EXPECT() *ResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*ResponseWriter) Header ¶
func (m *ResponseWriter) Header() http.Header
Header mocks base method
func (*ResponseWriter) Write ¶
func (m *ResponseWriter) Write(arg0 []byte) (int, error)
Write mocks base method
func (*ResponseWriter) WriteHeader ¶
func (m *ResponseWriter) WriteHeader(arg0 int)
WriteHeader mocks base method
type ResponseWriterMockRecorder ¶
type ResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
ResponseWriterMockRecorder is the mock recorder for ResponseWriter
func (*ResponseWriterMockRecorder) Header ¶
func (mr *ResponseWriterMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*ResponseWriterMockRecorder) Write ¶
func (mr *ResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*ResponseWriterMockRecorder) WriteHeader ¶
func (mr *ResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call
WriteHeader indicates an expected call of WriteHeader