serve

package
v0.0.0-...-b4aeae5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package serve provides the serve command.

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:   "serve <protocol> [opts] <remote>",
	Short: `Serve a remote over a protocol.`,
	Long: `Serve a remote over a given protocol. Requires the use of a
subcommand to specify the protocol, e.g.

    rclone serve http remote:

Each subcommand has its own options which you can see in their help.
`,
	Annotations: map[string]string{
		"versionIntroduced": "v1.39",
	},
	RunE: func(command *cobra.Command, args []string) error {
		if len(args) == 0 {
			return errors.New("serve requires a protocol, e.g. 'rclone serve http remote:'")
		}
		return errors.New("unknown protocol")
	},
}

Command definition for cobra

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package dlna provides DLNA server.
Package dlna provides DLNA server.
data
Package data provides utilities for DLNA server.
Package data provides utilities for DLNA server.
dlnaflags
Package dlnaflags provides utility functionality to DLNA.
Package dlnaflags provides utility functionality to DLNA.
upnpav
Package upnpav provides utilities for DLNA server.
Package upnpav provides utilities for DLNA server.
Package docker serves a remote suitable for use with docker volume api
Package docker serves a remote suitable for use with docker volume api
Package ftp implements an FTP server for rclone
Package ftp implements an FTP server for rclone
Package http provides common functionality for http servers
Package http provides common functionality for http servers
Package nfs implements a server to serve a VFS remote over NFSv3 protocol
Package nfs implements a server to serve a VFS remote over NFSv3 protocol
Package proxy implements a programmable proxy for rclone serve
Package proxy implements a programmable proxy for rclone serve
proxyflags
Package proxyflags implements command line flags to set up a proxy
Package proxyflags implements command line flags to set up a proxy
Package restic serves a remote suitable for use with restic
Package restic serves a remote suitable for use with restic
Package s3 implements an s3 server for rclone
Package s3 implements an s3 server for rclone
Package servetest provides infrastructure for running loopback tests of "rclone serve backend:" against the backend integration tests.
Package servetest provides infrastructure for running loopback tests of "rclone serve backend:" against the backend integration tests.
Package sftp implements an SFTP server to serve an rclone VFS
Package sftp implements an SFTP server to serve an rclone VFS
Package webdav implements a WebDAV server backed by rclone VFS
Package webdav implements a WebDAV server backed by rclone VFS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL