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"`
}
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"`
}
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"`
}