This commit is contained in:
2025-05-15 00:46:57 +02:00
parent 30c71cb449
commit b2b27b2c3d
18 changed files with 622 additions and 234 deletions

19
cmd/server/main.go Normal file
View File

@@ -0,0 +1,19 @@
//go:build !windows
package main
import (
"fmt"
"os"
)
const defaultDocumentRoot string = "/var/lib/cloudsave"
func main() {
run()
}
func fatal(message string, exitCode int) {
fmt.Fprintln(os.Stderr, message)
os.Exit(exitCode)
}