Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + func Convert(h HAR, options lib.Options, minSleep, maxSleep uint, enableChecks bool, ...) (result string, convertErr error) + func IsAllowedURL(url string, only, skip []string) bool + func SplitEntriesInBatches(entries []*Entry, interval uint) [][]*Entry + type Browser struct + Comment string + Name string + Version string + type Cache struct + type Content struct + Encoding string + MimeType string + Size int64 + Text string + type Cookie struct + Domain string + Expires time.Time + Expires8601 string + HTTPOnly bool + Name string + Path string + Secure bool + Value string + type Creator struct + Name string + Version string + type Entry struct + Cache *Cache + ID string + Pageref string + Request *Request + Response *Response + StartedDateTime time.Time + Time float32 + Timings *Timings + type EntryByStarted []*Entry + func (e EntryByStarted) Len() int + func (e EntryByStarted) Less(i, j int) bool + func (e EntryByStarted) Swap(i, j int) + type HAR struct + Log *Log + func Decode(r io.Reader) (HAR, error) + type Header struct + Name string + Value string + type Log struct + Browser *Browser + Comment string + Creator *Creator + Entries []*Entry + Pages []Page + Version string + type Page struct + Comment string + ID string + StartedDateTime time.Time + Title string + type PageByStarted []Page + func (e PageByStarted) Len() int + func (e PageByStarted) Less(i, j int) bool + func (e PageByStarted) Swap(i, j int) + type Param struct + ContentType string + Filename string + Name string + Value string + type PostData struct + MimeType string + Params []Param + Text string + type QueryString struct + Name string + Value string + type Request struct + BodySize int64 + Comment string + Cookies []Cookie + HTTPVersion string + Headers []Header + HeadersSize int64 + Method string + PostData *PostData + QueryString []QueryString + URL string + type Response struct + BodySize int64 + Content *Content + Cookies []Cookie + HTTPVersion string + Headers []Header + HeadersSize int64 + RedirectURL string + Status int + StatusText string + type Timings struct + Receive float32 + Send float32 + Wait float32