hattery

package
v9.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	// contains filtered or unexported fields
}
func Header(key string, value string) Request

func Timeout

func Timeout(timeout time.Duration) Request

func Url

func Url(url string) Request

func (Request) BasicAuth

func (r Request) BasicAuth(username string, password string) Request

func (Request) Fetch

func (r Request) Fetch(into interface{}) error

func (Request) Header

func (r Request) Header(key string, value string) Request

func (Request) Path

func (r Request) Path(path string) Request

func (Request) Timeout

func (r Request) Timeout(timeout time.Duration) Request

func (Request) Url

func (r Request) Url(url string) Request

Jump to

Keyboard shortcuts

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