mockclearlydefined

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClearlyDefined

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

func NewMockClearlyDefined

func NewMockClearlyDefined() *MockClearlyDefined

func (*MockClearlyDefined) Close

func (m *MockClearlyDefined) Close()

func (*MockClearlyDefined) GetTransport

func (m *MockClearlyDefined) GetTransport() *MockTransport

func (*MockClearlyDefined) SetDefinitions

func (m *MockClearlyDefined) SetDefinitions(definitions map[string][]byte) error

type MockTransport

type MockTransport struct {
	OriginalTransport http.RoundTripper
	TestServerURL     string
}

func (*MockTransport) RoundTrip

func (t *MockTransport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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