session

package
v0.0.0-...-6b7e659 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2017 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DefaultTimeout      = time.Duration(5) * time.Second
	MaxIdleConnsPerHost = 6
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Scheme    string
	Host      string
	UserAgent string
	Client    *http.Client
	Transport *http.Transport
}

func New

func New(baseURL string) *Session

func (*Session) Bye

func (s *Session) Bye()

Jump to

Keyboard shortcuts

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