Versions in this module Expand all Collapse all v1 v1.0.1 Sep 8, 2021 Changes in this version type History + Clear func() + SetMax func(max int) type MemoryHistory + func (his *MemoryHistory) Clear() + func (his *MemoryHistory) SetMax(max int) v1.0.0 Jul 29, 2017 Changes in this version + func NewMemoryCookies() *cookiejar.Jar + func NewMemoryHeaders() http.Header + type BookmarksJar interface + All func() BookmarksMap + Has func(name string) bool + Read func(name string) (string, error) + Remove func(name string) bool + Save func(name, url string) error + type BookmarksMap map[string]string + type FileBookmarks struct + func NewFileBookmarks(file string) (*FileBookmarks, error) + func (b *FileBookmarks) All() BookmarksMap + func (b *FileBookmarks) Has(name string) bool + func (b *FileBookmarks) Read(name string) (string, error) + func (b *FileBookmarks) Remove(name string) bool + func (b *FileBookmarks) Save(name, url string) error + type History interface + Len func() int + Pop func() *State + Push func(p *State) int + Top func() *State + type MemoryBookmarks struct + func NewMemoryBookmarks() *MemoryBookmarks + func (b *MemoryBookmarks) All() BookmarksMap + func (b *MemoryBookmarks) Has(name string) bool + func (b *MemoryBookmarks) Read(name string) (string, error) + func (b *MemoryBookmarks) Remove(name string) bool + func (b *MemoryBookmarks) Save(name, url string) error + type MemoryHistory struct + func NewMemoryHistory() *MemoryHistory + func (his *MemoryHistory) Len() int + func (his *MemoryHistory) Pop() *State + func (his *MemoryHistory) Push(p *State) int + func (his *MemoryHistory) Top() *State + type Node struct + Next *Node + Value *State + type State struct + Dom *goquery.Document + Request *http.Request + Response *http.Response + func NewHistoryState(req *http.Request, resp *http.Response, dom *goquery.Document) *State