server
This commit is contained in:
19
cmd/server/main.go
Normal file
19
cmd/server/main.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user