params

package
v0.0.0-...-3ef84d1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func Load

func Load(dir string) (*Store, error)

func (*Store) AppendPreset

func (s *Store) AppendPreset(method, path string, preset StoredParams) error

func (*Store) PresetsFor

func (s *Store) PresetsFor(method, path string) []StoredParams

type StoredParams

type StoredParams struct {
	Path       map[string]string `json:"path,omitempty"`
	Query      map[string]string `json:"query,omitempty"`
	Body       string            `json:"body,omitempty"`
	RecordedAt time.Time         `json:"recorded_at,omitempty"`
}

Jump to

Keyboard shortcuts

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