examples

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Example with custom HTTP client via SOCKS5 VPN

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jar

type Jar struct {
	// contains filtered or unexported fields
}

Custom Jar struct for cookies with mutex.

func (*Jar) Cookies

func (jar *Jar) Cookies(u *url.URL) []*http.Cookie

Get cookies implementation.

func (*Jar) SetCookies

func (jar *Jar) SetCookies(u *url.URL, cookies []*http.Cookie)

Set cookies into struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL