store

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureRequest

func CaptureRequest(request *http.Request)

Types

type Request

type Request struct {
	Headers map[string][]string
	URL     string
	Method  string
}

type Response

type Response struct {
	Body    []byte
	Headers map[string][]string
}

type Transaction

type Transaction struct {
	Request
	Response
}

func FindTransaction

func FindTransaction(r *http.Request) (*Transaction, bool)

func (Transaction) Equals

func (r Transaction) Equals(o Transaction) bool

Jump to

Keyboard shortcuts

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