har_loader

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomHAR

type CustomHAR struct {
	Log      *CustomHARLog      `json:"log"`
	AkitaExt har.AkitaExtension `json:"akita_ext"`
}

func LoadCustomHARFromFile

func LoadCustomHARFromFile(path string) (CustomHAR, error)

type CustomHAREntry

type CustomHAREntry struct {
	// Only include request and response since there are type conflicts in other
	// fields (e.g. timings).
	StartedDateTime time.Time     `json:"startedDateTime"`
	Request         *har.Request  `json:"request"`
	Response        *har.Response `json:"response"`
	Comment         string        `json:"comment"`
}

type CustomHARLog

type CustomHARLog struct {
	Version string           `json:"version"`
	Creator *har.Creator     `json:"creator"`
	Entries []CustomHAREntry `json:"entries"`
	Comment string           `json:"comment"`
}

Jump to

Keyboard shortcuts

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