mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-18 01:46:43 +00:00
17 lines
329 B
Go
17 lines
329 B
Go
package main
|
|
|
|
import "time"
|
|
|
|
type Task struct {
|
|
WebsiteId int `json:"website_id"`
|
|
Url string `json:"url"`
|
|
}
|
|
|
|
type TaskResult struct {
|
|
StatusCode int `json:"status_code"`
|
|
FileCount uint64 `json:"file_count"`
|
|
StartTime time.Time `json:"start_time"`
|
|
EndTime time.Time `json:"end_time"`
|
|
WebsiteId uint64 `json:"website_id"`
|
|
}
|