spiderutils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDELETESpider added in v0.2.0

func NewDELETESpider(url string, fn spinFunc) *spiderFunc

func NewGETSpider added in v0.2.0

func NewGETSpider(url string, fn spinFunc) *spiderFunc

func NewHTTPContext

func NewHTTPContext(method, url string, body io.Reader) (*spider.Context, error)

NewHTTPContext returns a new spider.Context.

It creates a new http.Client and a new http.Request with the provided arguments.

func NewHTTPSpider added in v0.2.0

func NewHTTPSpider(method, url string, body io.Reader, fn spinFunc) *spiderFunc

func NewPOSTSpider added in v0.2.0

func NewPOSTSpider(url string, body io.Reader, fn spinFunc) *spiderFunc

func NewPUTSpider added in v0.2.0

func NewPUTSpider(url string, body io.Reader, fn spinFunc) *spiderFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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