mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 01:46:31 +02:00
lib/http: Simplify server.go to export an http server rather than an interface
This also makes the implementation public.
This commit is contained in:
committed by
Nick Craig-Wood
parent
2a2fcf1012
commit
ec7cc2b3c3
@@ -103,7 +103,7 @@ control the stats printing.
|
||||
type serveCmd struct {
|
||||
f fs.Fs
|
||||
vfs *vfs.VFS
|
||||
server libhttp.Server
|
||||
server *libhttp.Server
|
||||
}
|
||||
|
||||
func run(ctx context.Context, f fs.Fs, opt Options) (*serveCmd, error) {
|
||||
|
Reference in New Issue
Block a user