mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
Implement an append only mode.
This commit is contained in:
parent
cff373e8aa
commit
618b530b88
4 changed files with 18 additions and 0 deletions
2
mux.go
2
mux.go
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue