Implementing a streaming setup with Usenet
This commit is contained in:
@@ -47,6 +47,9 @@ func (wb *Web) Routes() http.Handler {
|
||||
r.Get("/torrents", wb.handleGetTorrents)
|
||||
r.Delete("/torrents/{category}/{hash}", wb.handleDeleteTorrent)
|
||||
r.Delete("/torrents/", wb.handleDeleteTorrents)
|
||||
r.Get("/nzbs", wb.handleGetNZBs)
|
||||
r.Post("/nzbs/add", wb.handleAddNZBContent)
|
||||
r.Delete("/nzbs/{id}", wb.handleDeleteNZB)
|
||||
r.Get("/config", wb.handleGetConfig)
|
||||
r.Post("/config", wb.handleUpdateConfig)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user