test

package
v0.0.0-...-f1b39ba Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRecorder

type MockRecorder struct {
	mock.Mock

	Code int
	// contains filtered or unexported fields
}

MockRecorder mocks the http.ResponseWriter, http.Flusher & http.CloseNotify interfaces.

func NewMockRecorder

func NewMockRecorder() *MockRecorder

NewMockRecorder creates a new instance of the MockRecorder type.

func (*MockRecorder) CloseNotify

func (mr *MockRecorder) CloseNotify() <-chan bool

CloseNotify mocks the CloseNotify method of the http.CloseNotify interface.

func (*MockRecorder) Flush

func (mr *MockRecorder) Flush()

Flush mocks the Flush method of the http.Flusher interface.

func (*MockRecorder) Header

func (mr *MockRecorder) Header() http.Header

Header mocks the Header method of the http.ResponseWriter interface.

func (*MockRecorder) Write

func (mr *MockRecorder) Write(data []byte) (int, error)

Write mocks the Write method of the http.ResponseWriter interface.

func (*MockRecorder) WriteHeader

func (mr *MockRecorder) WriteHeader(code int)

WriteHeader mocks the WriteHeader method of the http.ResponseWriter interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL