mirror of
https://github.com/restic/rest-server.git
synced 2026-04-12 13:11:50 -07:00
Optimize Config struct (maligned)
This commit is contained in:
4
mux.go
4
mux.go
@@ -16,12 +16,12 @@ import (
|
|||||||
var Config = struct {
|
var Config = struct {
|
||||||
Path string
|
Path string
|
||||||
Listen string
|
Listen string
|
||||||
TLS bool
|
|
||||||
Log string
|
Log string
|
||||||
CPUProfile string
|
CPUProfile string
|
||||||
Debug bool
|
TLS bool
|
||||||
AppendOnly bool
|
AppendOnly bool
|
||||||
Prometheus bool
|
Prometheus bool
|
||||||
|
Debug bool
|
||||||
}{
|
}{
|
||||||
Path: "/tmp/restic",
|
Path: "/tmp/restic",
|
||||||
Listen: ":8000",
|
Listen: ":8000",
|
||||||
|
|||||||
Reference in New Issue
Block a user