Documentation ¶
Overview ¶
Package surf ensembles other packages into a usable browser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultUserAgent is the global user agent value. DefaultUserAgent = agent.Create() // DefaultSendReferer is the global value for the AttributeSendReferer attribute. DefaultSendReferer = true // DefaultMetaRefreshHandling is the global value for the AttributeHandleRefresh attribute. DefaultMetaRefreshHandling = true // DefaultFollowRedirects is the global value for the AttributeFollowRedirects attribute. DefaultFollowRedirects = true )
Functions ¶
func NewBrowser ¶
NewBrowser creates and returns a *browser.Browser type.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package agent generates user agents strings for well known browsers and for custom browsers.
|
Package agent generates user agents strings for well known browsers and for custom browsers. |
Package browser contains the primary browser implementation.
|
Package browser contains the primary browser implementation. |
Package errors contains error types specific to the Surf library.
|
Package errors contains error types specific to the Surf library. |
Package jar has containers for storing data, such as bookmarks and cookies.
|
Package jar has containers for storing data, such as bookmarks and cookies. |
Package util contains some utility methods used by other packages.
|
Package util contains some utility methods used by other packages. |
Click to show internal directories.
Click to hide internal directories.