mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedConfig

type MockedConfig struct {
	mock.Mock
}

func (*MockedConfig) Command

func (m *MockedConfig) Command() string

func (*MockedConfig) Config

func (m *MockedConfig) Config(fieldName string) string

type MockedWebEngine

type MockedWebEngine struct {
	mock.Mock
}

func (*MockedWebEngine) Run

func (m *MockedWebEngine) Run(adr ...string) error

func (*MockedWebEngine) ServeHTTP

func (m *MockedWebEngine) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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