Rename Config to Server and use singular one in main

This commit is contained in:
Matthew Holt
2018-04-15 08:31:50 -06:00
parent b98c171644
commit df3b6aa1cf
5 changed files with 164 additions and 185 deletions

View File

@@ -230,7 +230,7 @@ func TestResticHandler(t *testing.T) {
}()
// set append-only mode and configure path
mux := NewHandler(Config{
mux := NewHandler(Server{
AppendOnly: true,
Path: tempdir,
})