Versions in this module Expand all Collapse all v0 v0.2.0 Aug 29, 2026 Changes in this version type Options + Hosts []string v0.1.0 Aug 28, 2026 Changes in this version + func Key(method, url string) string + type Changed struct + Fields []Field + type Content struct + Encoding string + MimeType string + Size int64 + Text string + type Entry struct + Request Request + Response Response + StartedDateTime string + type Field struct + A string + B string + InA bool + InB bool + Name string + Section Section + type HAR struct + Log struct{ ... } + func Load(path string) (*HAR, error) + func Parse(r io.Reader) (*HAR, error) + type NameValue struct + Name string + Value string + type Options struct + IgnoreHeaders []string + MaxValue int + Redact bool + ResponseBodies bool + ResponseHeaders bool + type Pair struct + A *Entry + AIndex int + B *Entry + BIndex int + Key string + func Match(a, b *HAR) []Pair + type PostData struct + MimeType string + Params []NameValue + Text string + type Request struct + Cookies []NameValue + HTTPVersion string + Headers []NameValue + Method string + PostData *PostData + QueryString []NameValue + URL string + func (r Request) Header(name string) (string, bool) + type Response struct + Content *Content + HTTPVersion string + Headers []NameValue + Status int + StatusText string + func (r Response) Header(name string) (string, bool) + type Result struct + Changed []Changed + OnlyInA []Pair + OnlyInB []Pair + Same int + func Diff(a, b *HAR, opts Options) Result + func (r Result) Empty() bool + func (r Result) Render(nameA, nameB string) string + type Section string + const SectionBody + const SectionBodyBytes + const SectionHTTPVer + const SectionHeader + const SectionMimeType + const SectionQuery + const SectionRespBody + const SectionRespHead + const SectionStatus