Documentation ¶
Index ¶
- func Adapt(base http.CookieJar, adapter JarAdapterFunc) http.CookieJar
- func AllSupportedBrowsers() (browsers []string)
- func Concat(base http.CookieJar, append http.CookieJar) http.CookieJar
- func Load(extraSpecs []string, globals scope.ScopedBindings) (http.CookieJar, error)
- func LoadSpec(spec string) (cookies []*http.Cookie, err error)
- func LoadSpecs(specs ...string) (cookies []*http.Cookie, err error)
- func SimpleJar(cookies []*http.Cookie) (http.CookieJar, error)
- type HostAliasJarAdapter
- type JarAdapterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Adapt ¶
func Adapt(base http.CookieJar, adapter JarAdapterFunc) http.CookieJar
Adapt wraps a CookieJar with an adaptor, which implements Cookies on top of base (SetCookies is provided by base)
func AllSupportedBrowsers ¶
func AllSupportedBrowsers() (browsers []string)
func Concat ¶
Concat combines two CookieJar together, with Cookies as their concatenation, and SetCookies delegated to base.
Types ¶
type HostAliasJarAdapter ¶
Click to show internal directories.
Click to hide internal directories.