Discover Packages
github.com/SoMuchForSubtlety/fileupload
package
module
Version:
v0.0.0-...-5cee83e
Opens a new window with list of versions in this module.
Published: May 1, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
fileupload
This go package provides an easy way to upload files to hosts like https://0x0.st/
Expand ▾
Collapse ▴
Documentation
¶
Package fileupload provides an easy way to upload files to a filehost.
UploadFile takes a file and uploads that file to a file host.
It returns the url to the uploaded file as a string and any error encountered.
UploadToHost takes a url and a file as arguments and uploads the file to the provided url with HTTP POST.
It returns the url to the uploaded file as a string and any error encountered.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.