package
Version:
v0.0.0-...-b4a383b
Opens a new window with list of versions in this module.
Published: Jan 31, 2024
License: MIT
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.
Documentation
¶
-
func DecodeDownloadFilename(res *http.Response) string
-
func NewUploadRequest(ctx context.Context, uri string, path, fileFieldName string, ...) (*http.Request, error)
-
func Upload(ctx context.Context, uri, path, fileFieldName string, ...) (*bytes.Buffer, string, error)
DecodeDownloadFilename decodes the filename from the http response or empty.
NewUploadRequest Creates a new file Upload http request with optional extra params.
Upload uploads to uri with the file specified in path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.