Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrBadTargetPrefix is returned by HandleFinisher if the requested TUS targetURL prefix does not exist ErrBadTargetPrefix = Error("requested targetURI prefix is not valid") )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // TargetURI is a `file://` or `s3://` URI to designate where the upload should go TargetURI string // AppendFilename renames (COPY,DELETE) the file after upload to append `-filename.ext`. This can result in // increased costs for paid storage services AppendFilename bool // S3Client is an s3.S3 to be used if TargetURI is an `s3://` S3Client *s3.S3 }
Config encapsulates various options passable to New
Click to show internal directories.
Click to hide internal directories.