This commit is contained in:
2025-10-13 13:41:34 +02:00
parent 90f10143da
commit 4b62a9a64b
23 changed files with 679 additions and 196 deletions

View File

@@ -10,8 +10,12 @@ $ ./pastebin -help
Usage of ./pastebin:
-addr string
socket address to bind to (default ":3000")
-db-path string
path to the database file (default "pastebin.db")
-max-size int
maximum size of a paste in bytes (default 32kB)
-ttl duration
time to live for pastes (e.g., 72h, 30m) (default 168h0m0s)
```
## Highlighting