Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoHTTPServer ¶
GoHTTPServer is an autogenerated mock type for the GoHTTPServer type
func NewGoHTTPServer ¶ added in v1.1.4
func NewGoHTTPServer(t interface { mock.TestingT Cleanup(func()) }) *GoHTTPServer
NewGoHTTPServer creates a new instance of GoHTTPServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GoHTTPServer) Close ¶
func (_m *GoHTTPServer) Close() error
Close provides a mock function with given fields:
func (*GoHTTPServer) Serve ¶
func (_m *GoHTTPServer) Serve(l net.Listener) error
Serve provides a mock function with given fields: l
Click to show internal directories.
Click to hide internal directories.