mocks

package
v2.1.0-mercury-20230518 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	mock.Mock
}

HttpServer is an autogenerated mock type for the HttpServer type

func NewHttpServer

func NewHttpServer(t mockConstructorTestingTNewHttpServer) *HttpServer

NewHttpServer creates a new instance of HttpServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*HttpServer) Close

func (_m *HttpServer) Close() error

Close provides a mock function with given fields:

func (*HttpServer) SetHTTPRequestHandler

func (_m *HttpServer) SetHTTPRequestHandler(handler network.HTTPRequestHandler)

SetHTTPRequestHandler provides a mock function with given fields: handler

func (*HttpServer) Start

func (_m *HttpServer) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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