Documentation
¶
Index ¶
- func NewDELETESpider(url string, fn spinFunc) *spiderFunc
- func NewGETSpider(url string, fn spinFunc) *spiderFunc
- func NewHTTPContext(method, url string, body io.Reader) (*spider.Context, error)
- func NewHTTPSpider(method, url string, body io.Reader, fn spinFunc) *spiderFunc
- func NewPOSTSpider(url string, body io.Reader, fn spinFunc) *spiderFunc
- func NewPUTSpider(url string, body io.Reader, fn spinFunc) *spiderFunc
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 ¶
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 NewPOSTSpider ¶ added in v0.2.0
func NewPUTSpider ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.