http

package
v0.0.0-...-6ad1837 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package http is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockserverRuntime

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

MockserverRuntime is a mock of serverRuntime interface

func NewMockserverRuntime

func NewMockserverRuntime(ctrl *gomock.Controller) *MockserverRuntime

NewMockserverRuntime creates a new mock instance

func (*MockserverRuntime) EXPECT

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

func (*MockserverRuntime) Intn

func (m *MockserverRuntime) Intn(n int) int

Intn mocks base method

func (*MockserverRuntime) Listen

func (m *MockserverRuntime) Listen(network, address string) (net.Listener, error)

Listen mocks base method

func (*MockserverRuntime) Serve

func (m *MockserverRuntime) Serve(serve func(net.Listener) error, l net.Listener) error

Serve mocks base method

type MockserverRuntimeMockRecorder

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

MockserverRuntimeMockRecorder is the mock recorder for MockserverRuntime

func (*MockserverRuntimeMockRecorder) Intn

func (mr *MockserverRuntimeMockRecorder) Intn(n interface{}) *gomock.Call

Intn indicates an expected call of Intn

func (*MockserverRuntimeMockRecorder) Listen

func (mr *MockserverRuntimeMockRecorder) Listen(network, address interface{}) *gomock.Call

Listen indicates an expected call of Listen

func (*MockserverRuntimeMockRecorder) Serve

func (mr *MockserverRuntimeMockRecorder) Serve(serve, l interface{}) *gomock.Call

Serve indicates an expected call of Serve

Jump to

Keyboard shortcuts

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