rsyncsender

package
v0.0.0-...-c94949e Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: BSD-3-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientRun

func ClientRun(opts *Opts, conn io.ReadWriter, filesystem utils.FS, path string, negotiate bool) error

func CounterPair

func CounterPair(r io.Reader, w io.Writer) (*countingReader, *countingWriter)

Types

type Module

type Module struct {
	Name string   `toml:"name"`
	Path string   `toml:"path"`
	ACL  []string `toml:"acl"`
}

type Option

type Option interface {
}

Option specifies the server options.

type Opts

type Opts struct {
	Gokrazy struct {
		Config           string
		Listen           string
		MonitoringListen string
		AnonSSHListen    string
		ModuleMap        string
	}

	Daemon           bool
	Server           bool
	Sender           bool
	PreserveGid      bool
	PreserveUid      bool
	PreserveLinks    bool
	PreservePerms    bool
	PreserveDevices  bool
	PreserveSpecials bool
	PreserveTimes    bool
	Recurse          bool
	IgnoreTimes      bool
	DryRun           bool
	D                bool
}

func NewGetOpt

func NewGetOpt() (*Opts, *getoptions.GetOpt)

Jump to

Keyboard shortcuts

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