- added cleaner goroutine
- added delete cmd
- added list cmd
- refactoring
This commit is contained in:
2023-03-08 19:31:42 +01:00
parent 50660da26a
commit 01a0dc054d
17 changed files with 506 additions and 104 deletions

View File

@@ -3,15 +3,10 @@ Simple standalone file upload server with api and cli
## TODO
- implement goroutine to expire after 1d, 10m etc
implemented. add go routine to server, use Db.Iter()
- use bolt db to retrieve list of items to expire
- also serve a html upload page
- add auth options (access key, users, roles, oauth2)
- add metrics
- add upctl command to remove a file
- use global map of api endpoints like /file/get/ etc
- create cobra client commands (upload, list, delete, edit)
- add authorization checks for delete and list based on apicontext
## BUGS