Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36"
Functions ¶
func UrlToId ¶
Reverses a url's domain. Can be better for storage id http://bar.foo.com:8983/to/index.html?a=b" becomes "com.foo.bar:http:8983/to/index.html?a=b"
Types ¶
type Grab ¶
type InMemoryCookieJar ¶
type InMemoryCookieJar struct {
// contains filtered or unexported fields
}
func (InMemoryCookieJar) SetCookies ¶
func (jar InMemoryCookieJar) SetCookies(u *url.URL, cookies []*http.Cookie)
Click to show internal directories.
Click to hide internal directories.