Documentation ¶
Index ¶
- func Delete(ctx context.Context, cfg uplink.Config, access *uplink.Access, bucket string, ...) error
- func Download(ctx context.Context, cfg uplink.Config, access *uplink.Access, bucket string, ...) (res []byte, err error)
- func Upload(ctx context.Context, cfg uplink.Config, access *uplink.Access, source []byte, ...) error
- type Load
- type Stat
- type Uplink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stat ¶
type Uplink ¶
type Uplink struct { Verbose bool `help:"Print out more information"` Path string `arg:"" name:"path" help:"path to the file to be uploaded"` Sample int `short:"n" default:"10" help:"Number of executions ON EACH go rountie"` Thread int `short:"t" default:"1" help:"Number of parallel Go routines"` Size int `short:"s" size:"4194304" help:"Size of the files to be uploaded"` }
Click to show internal directories.
Click to hide internal directories.