Bits of ODDB API

This commit is contained in:
Richard Patel
2018-10-27 04:10:08 +02:00
parent dc816146cc
commit abf069f946
5 changed files with 300 additions and 0 deletions

16
tasks.go Normal file
View File

@@ -0,0 +1,16 @@
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"`
}