pipeline

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

数据收集

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RefreshOutput

func RefreshOutput()

刷新输出方式的状态

Types

type Pipeline

type Pipeline interface {
	Start()                          //启动
	Stop()                           //停止
	CollectData(data.DataCell) error //收集数据单元
	CollectFile(data.FileCell) error //收集文件
}

数据收集/输出管道

func New

func New(sp *spider.Spider) Pipeline

Directories

Path Synopsis
结果收集与输出
结果收集与输出

Jump to

Keyboard shortcuts

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