payload

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Filename            string
	Path                string
	DeleteAfterTransfer bool
}

Payload to transfer

func FromArgs

func FromArgs(args []string, zipFlag bool) (Payload, error)

FromArgs returns a payload from args

func (Payload) Delete

func (p Payload) Delete() error

Delete the payload from disk

Jump to

Keyboard shortcuts

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