package
0.0.0-20250206095323-67f4e8942fa5
Repository: https://github.com/noxyicm/wsf.git
Documentation: pkg.go.dev

# Functions

NewDefaultTransfer creates new default file transfer.
NewController creates a new controller specified by type.
NewController creates a new controller specified by type.
NewUpload wraps net/http upload into compatible structure.
RegisterTransfer registers a handler for file transfer creation.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TYPEDefaultTransfer is the name of transfer.
UploadErrorCantWrite - failed to write file to disk.
UploadErrorExtension - forbidden file extension.
UploadErrorNoFile - no file was uploaded.
UploadErrorNoTmpDir - missing a temporary folder.
UploadErrorOK - no error, the file uploaded with success.
UploadErrorUploded - file already received.

# Structs

Config represents file configuration.
File represents singular upload file.
Transfer manages files transfers.

# Interfaces

Interface is an interface for controllers.

# Type aliases

Tree represents a file tree.