spider

package
v0.0.0-...-3404f59 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSpider

func InitSpider(d time.Duration, proxyChecker controller.Checker) *time.Ticker

Types

type Feiyi

type Feiyi struct {
	URL   string
	Query string
}

func (*Feiyi) Do

func (i *Feiyi) Do() ([]*model.Proxy, error)

func (*Feiyi) Name

func (i *Feiyi) Name() string

type IP89

type IP89 struct {
}

func (*IP89) Do

func (i *IP89) Do() ([]*model.Proxy, error)

func (*IP89) Name

func (i *IP89) Name() string

type Spider

type Spider interface {
	Do() ([]*model.Proxy, error)
	Name() string
}

Jump to

Keyboard shortcuts

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