mockhttp

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockhttp is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServer

type MockServer struct {
	// contains filtered or unexported fields
}

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServer) Handle

func (m *MockServer) Handle(arg0 http.Handler)

Handle mocks base method.

func (*MockServer) Serve

func (m *MockServer) Serve(arg0 chan<- error)

Serve mocks base method.

func (*MockServer) Stop

func (m *MockServer) Stop()

Stop mocks base method.

type MockServerMockRecorder

type MockServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) Handle

func (mr *MockServerMockRecorder) Handle(arg0 interface{}) *gomock.Call

Handle indicates an expected call of Handle.

func (*MockServerMockRecorder) Serve

func (mr *MockServerMockRecorder) Serve(arg0 interface{}) *gomock.Call

Serve indicates an expected call of Serve.

func (*MockServerMockRecorder) Stop

func (mr *MockServerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Source Files

Jump to

Keyboard shortcuts

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