upload

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package upload provides functions for uploading files to the server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteFileUpload

func CompleteFileUpload(relativePath string) error

CompleteFileUpload Complete the file upload by renaming the temporary file to the final file

func GetTempFilePath added in v0.0.3

func GetTempFilePath(relativePath string) string

GetTempFilePath Get the temporary file path

func GetTempFileWriteStream

func GetTempFileWriteStream(relativePath string) (*os.File, error)

GetTempFileWriteStream Get a write stream for the temporary file

func RemoveTempFile added in v0.0.3

func RemoveTempFile(relativePath string) error

RemoveTempFile Remove the temporary file

Types

This section is empty.

Jump to

Keyboard shortcuts

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