Initial commit
This commit is contained in:
commit
493d019352
9 changed files with 1798 additions and 0 deletions
22
dev-notes.md
Normal file
22
dev-notes.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Dev notes
|
||||
|
||||
## Resources
|
||||
|
||||
- <https://torznab.github.io/spec-1.3-draft/index.html>
|
||||
- <https://www.git.je/Mirrors/Sonarr/wiki/Implementing-a-Torznab-indexer>
|
||||
- for testing: <https://fosstorrents.com/thankyou/?name=debian&cat=Installation%20-%20amd64&id=0&hybrid=0>
|
||||
|
||||
---
|
||||
|
||||
```rs
|
||||
struct TorznabToolkitConfig {
|
||||
auth_func: auth,
|
||||
search_func: search,
|
||||
whateverotherfunc: otherfunc,
|
||||
port: 5309
|
||||
}
|
||||
|
||||
fn launch() -> Result {
|
||||
rocket::build().mount("/", routes![tt::search, tt:otherfunc])
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue