Refactor everything to use nsq instead of hosting a http server
The point of this is (hopefully) some sort of resiliency I do not want to lose any messages ever And I want to be able to kill this process whenever it is misbehaving Hopefully this achieves that goal
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
package main
|
||||
|
||||
type DownloadTask struct {
|
||||
Url string
|
||||
}
|
||||
type DownloadRequest struct {
|
||||
Link string `json:"link"`
|
||||
}
|
||||
Reference in New Issue
Block a user