52443c2444
restic: refactor to use lib/http
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com >
2022-12-15 12:38:09 +00:00
ba60984f33
build: update to go1.19 and make go1.17 the minimum required version
2022-08-03 18:04:58 +01:00
8cf76f5e11
test: use T.TempDir
to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-02-01 11:47:04 +00:00
3661791e82
serve restic: disable for go1.16 and earlier after update
2021-11-10 15:42:50 +00:00
d64212d902
serve/restic: expose interfaces so that rclone can be used as a library from within restic
...
This patch enables rclone to be used as a library from within restic
- exposes NewServer
- exposes Server
- implements http.RoundTripper
Co-authored-by: Jack Deng <jackdeng@gmail.com >
2020-07-26 12:06:47 +01:00
89b6d89077
build: drop support for go1.9
2019-09-04 10:23:48 +01:00
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
939b19c3b7
cmd: add support for private repositories in serve restic
- fixes #3247
2019-06-12 13:39:38 +01:00