MCPcopy
hub / github.com/SpectoLabs/hoverfly / Mode

Interface Mode

core/modes/modes.go:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35const Diff = "diff"
36
37type Mode interface {
38 Process(*http.Request, models.RequestDetails) (ProcessResult, error)
39 SetArguments(arguments ModeArguments)
40 View() v2.ModeView
41}
42
43type ModeArguments struct {
44 Headers []string

Callers 10

processRequestMethod · 0.65
SetModeWithArgumentsMethod · 0.65
GetModeMethod · 0.65
GetMethod · 0.65
GetAllValuesMethod · 0.65
GetAllEntriesMethod · 0.65
RecordsCountMethod · 0.65

Implementers 6

CaptureModecore/modes/capture_mode.go
SynthesizeModecore/modes/synthesize_mode.go
SimulateModecore/modes/simulate_mode.go
ModifyModecore/modes/modify_mode.go
DiffModecore/modes/diff_mode.go
SpyModecore/modes/spy_mode.go

Calls

no outgoing calls

Tested by

no test coverage detected