uplink

package
v0.0.0-...-e477e18 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Download

type Download struct {
	util.Loop
	Source   string `arg:"" name:"source"`
	Target   string `arg:"" name:"target"`
	Pool     int    `short:"p" help:"Use pool: 0 - no, 1 - common, 2 - separated pool for satellite and storagenode"`
	PoolSize int    `default:"200" help:"size of the connection pool"`
}

func (*Download) Run

func (d *Download) Run() error

type UpDown

type UpDown struct {
	util.Loop
	Source   string `arg:"" name:"source"`
	Target   string `arg:"" name:"target"`
	Pool     int    `short:"p" help:"Use pool: 0 - no, 1 - common, 2 - separated pool for satellite and storagenode"`
	PoolSize int    `default:"200" help:"size of the connection pool"`
}

func (*UpDown) Run

func (u *UpDown) Run() error
type Uplink struct {
	Upload   Upload   `cmd:"" help:"Upload a file with uplink"`
	Download Download `cmd:"" help:"Download a file with uplink"`
	UpDown   UpDown   `cmd:"" help:"Upload & Download a file with uplink"`
}

type Upload

type Upload struct {
	util.Loop
	Refactored bool   `help:"Use code from upload code refactor"`
	Source     string `arg:"" name:"source"`
	Target     string `arg:"" name:"target"`
}

func (*Upload) Run

func (u *Upload) Run() error

Jump to

Keyboard shortcuts

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