store

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 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 Item added in v0.1.5

type Item struct {
	// Request as is
	Request []byte `json:"request"`

	// Response Body as is
	ResponseBody []byte `json:"response_body"`

	// Response headers Body as is
	ResponseHeader http.Header `json:"response_header"`

	// status code
	StatusCode int `json:"status_code"`

	// for compare and debug goals
	// it's not stored in files
	Hash string `json:"-"`
}

func FromZip

func FromZip(body []byte, needHash ...bool) (*Item, error)

func (*Item) ToZip added in v0.1.5

func (s *Item) ToZip() ([]byte, error)

Jump to

Keyboard shortcuts

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