Implement an append only mode.

This commit is contained in:
Kenny Keslar 2017-09-02 20:16:21 -05:00 committed by Zlatko Čalušić
parent cff373e8aa
commit 618b530b88
4 changed files with 18 additions and 0 deletions

2
mux.go
View file

@ -18,9 +18,11 @@ var Config = struct {
Log string
CPUProfile string
Debug bool
AppendOnly bool
}{
Path: "/tmp/restic",
Listen: ":8000",
AppendOnly: false,
}
func debugHandler(next http.Handler) http.Handler {