serve http command to serve a remote over HTTP

This implements a basic webserver to serve an rclone remote over HTTP.

It also sets up the framework for adding more types of server later.
This commit is contained in:
Nick Craig-Wood
2016-12-06 18:00:24 +00:00
parent a06bcd4c57
commit 6669165b6b
22 changed files with 494 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ import (
_ "github.com/ncw/rclone/cmd/rcat"
_ "github.com/ncw/rclone/cmd/rmdir"
_ "github.com/ncw/rclone/cmd/rmdirs"
_ "github.com/ncw/rclone/cmd/serve"
_ "github.com/ncw/rclone/cmd/sha1sum"
_ "github.com/ncw/rclone/cmd/size"
_ "github.com/ncw/rclone/cmd/sync"