mockhttp

package
Version: v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 2 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 MockConfig

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

MockConfig is a mock of Config interface.

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) Addr

func (m *MockConfig) Addr() string

Addr mocks base method.

func (*MockConfig) CACert

func (m *MockConfig) CACert() string

CACert mocks base method.

func (*MockConfig) Cert

func (m *MockConfig) Cert() string

Cert mocks base method.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Key

func (m *MockConfig) Key() string

Key mocks base method.

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) Addr

func (mr *MockConfigMockRecorder) Addr() *gomock.Call

Addr indicates an expected call of Addr.

func (*MockConfigMockRecorder) CACert

func (mr *MockConfigMockRecorder) CACert() *gomock.Call

CACert indicates an expected call of CACert.

func (*MockConfigMockRecorder) Cert

func (mr *MockConfigMockRecorder) Cert() *gomock.Call

Cert indicates an expected call of Cert.

func (*MockConfigMockRecorder) Key

func (mr *MockConfigMockRecorder) Key() *gomock.Call

Key indicates an expected call of Key.

Source Files

Jump to

Keyboard shortcuts

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