mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 04:30:57 +01:00
added expire check code + db iterator func
This commit is contained in:
@@ -3,9 +3,8 @@ Simple standalone file upload server with api and cli
|
||||
|
||||
## TODO
|
||||
|
||||
- decouple db and http code in Runserver()
|
||||
- store ts
|
||||
- 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)
|
||||
@@ -15,7 +14,6 @@ Simple standalone file upload server with api and cli
|
||||
- create cobra client commands (upload, list, delete, edit)
|
||||
|
||||
|
||||
|
||||
## curl commands
|
||||
|
||||
### upload
|
||||
|
||||
Reference in New Issue
Block a user