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:
2024-10-13 23:19:37 +02:00
parent 48179c3a67
commit 8d55bcb5ee
5 changed files with 82 additions and 80 deletions

View File

@@ -1,8 +1,5 @@
package main
type DownloadTask struct {
Url string
}
type DownloadRequest struct {
Link string `json:"link"`
}