httpservermocks

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoHTTPServer

type GoHTTPServer struct {
	mock.Mock
}

GoHTTPServer is an autogenerated mock type for the GoHTTPServer type

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

func (*GoHTTPServer) ServeTLS

func (_m *GoHTTPServer) ServeTLS(l net.Listener, certFile string, keyFile string) error

ServeTLS provides a mock function with given fields: l, certFile, keyFile

func (*GoHTTPServer) Shutdown

func (_m *GoHTTPServer) Shutdown(ctx context.Context) error

Shutdown provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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