Documentation ¶
Index ¶
Constants ¶
View Source
const ( FetchChannel queue.QueueKey = "fetch" CheckChannel queue.QueueKey = "check" DispatcherChannel queue.QueueKey = "dispatch" IndexChannel queue.QueueKey = "index" DispatchFilter filter.FilterKey = "dispatch_filter" CheckFilter filter.FilterKey = "check_filter" FetchFilter filter.FilterKey = "fetch_filter" )
View Source
const ErrorBrokenPipeline errors.ErrorCode = 1001
View Source
const ErrorExitedPipeline errors.ErrorCode = 1000
View Source
const KVBucketKey string = "Kv"
View Source
const PhraseChecker pipeline.Phrase = 1 //check url validation
View Source
const PhraseCrawler pipeline.Phrase = 2 //going to fetch
View Source
const PhraseParse pipeline.Phrase = 3 //parse content
View Source
const PhraseUpdate pipeline.Phrase = 4 //scheduled update
View Source
const REGISTER_BOLTDB global.RegisterKey = "REGISTER_BOLTDB"
View Source
const STATS_FETCH_FAIL_COUNT = "fetch.fail"
View Source
const STATS_FETCH_SUCCESS_COUNT = "fetch.success"
View Source
const STATS_FETCH_TIMEOUT_COUNT = "fetch.timeout"
View Source
const STATS_FETCH_TIMEOUT_IGNORE_COUNT = "fetch.timeout_ignore"
View Source
const STATS_FETCH_TOTAL_COUNT = "fetch.total"
View Source
const STATS_STORAGE_FILE_COUNT = "stats.sum.file.count"
View Source
const STATS_STORAGE_FILE_SIZE = "stats.sum.file.size"
View Source
const SnapshotBucketKey string = "Snapshot"
View Source
const SnapshotMappingBucketKey string = "SnapshotMapping"
View Source
const StatsBucketKey string = "Stats"
View Source
const TaskBucketKey string = "Task"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.