adding missing comments

dev
mzack 2021-12-29 09:51:50 +01:00
parent 5d699cdde0
commit 0a6b84639b
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ type Page struct {
History []HistoryData
}
// HistoryData contains the page request/response pairs
type HistoryData struct {
RawRequest string
RawResponse string
@ -89,6 +90,7 @@ func (p *Page) URL() string {
return info.URL
}
// DumpHistory returns the full page navigation history
func (p *Page) DumpHistory() string {
var historyDump strings.Builder
for _, historyData := range p.History {