Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { Afterrequest struct { Expires string `json:"expires"` Lastfetched string `json:"lastFetched"` Etag string `json:"eTag"` Fetchcount string `json:"fetchCount"` Datasize string `json:"_dataSize"` Lastmodified string `json:"_lastModified"` Device string `json:"_device"` } `json:"afterRequest"` }
type Entries ¶
type Entries []Entry
func (Entries) ExcludeByResponseHeader ¶
func (Entries) ExcludeByURL ¶
type Entry ¶
type Entry struct { Pageref string `json:"pageref"` Starteddatetime time.Time `json:"startedDateTime"` Response Response `json:"response,omitempty"` Timings Timing `json:"timings"` Time float32 `json:"time"` Securitystate string `json:"_securityState"` Serveripaddress string `json:"serverIPAddress,omitempty"` Connection string `json:"connection,omitempty"` Cache Cache `json:"cache,omitempty"` Request Request `json:"request,omitempty"` }
type Har ¶
type Har struct {
Log Log `json:"log"`
}
Har represents an entire HTTP Archive See the following for more details: - https://en.wikipedia.org/wiki/HAR_(file_format) - http://www.softwareishard.com/blog/har-12-spec/ - https://w3c.github.io/web-performance/specs/HAR/Overview.html
type Properties ¶
type Properties []Property
type Request ¶
type Request struct { Bodysize int `json:"bodySize"` Method string `json:"method"` URL string `json:"url"` Httpversion string `json:"httpVersion"` Headers Properties `json:"headers"` Cookies Properties `json:"cookies"` Querystring Properties `json:"queryString"` Headerssize int `json:"headersSize"` Postdata Content `json:"postData"` }
type Response ¶
type Response struct { Status int `json:"status"` Statustext string `json:"statusText"` Httpversion string `json:"httpVersion"` Headers Properties `json:"headers"` Cookies Properties `json:"cookies"` Content Content `json:"content"` Redirecturl string `json:"redirectURL"` Headerssize int `json:"headersSize"` Bodysize int `json:"bodySize"` }
Click to show internal directories.
Click to hide internal directories.