Reference server implementation in Go of tus: the open protocol for resumable file uploads
Go to file
Ole-Martin Bratteng 1b11885823
azurestore: Add implementation
* Add azure-storage-blob-go dependency

* Implement Azure BlobStorage store

* Add AzureStore Mock test

* Refactor Blob interfaces to use uppercase fields

* Refactor and remove the Create function
When getting the offset, and we get the status code BlobNotFound, we can say the offset is 0, and start from the beginning

* Update the mock

* Refactor error checking of GetOffset to actually check the service code

* Begin testing azurestore

* Write more tests

* New feature allows to set access type on new containers and blob access tier

* Write more docs

* Upgrade azure-storage-blob-go to v0.13.0

* Remove AzError, not needed

* Update link to container access type information

* Remove ?toc from link in comments

* Remove trailing spaces from workflow

* Run tests with go1.15 and 1.16

* Don't fail fast
This lets all other tests complete, and makes it easier to see if it's just a one-off fail, or on different OSes and versions

* Remove darwin 386 from `build_all.sh` script
Removed in go1.15 https://github.com/golang/go/issues/37610

* Update go version in `Dockerfile`

* Compile for Apple Silicone (darwin arm64)
Only go1.16 supports it
2021-07-29 01:14:50 +02:00
.github azurestore: Add implementation 2021-07-29 01:14:50 +02:00
cmd/tusd azurestore: Add implementation 2021-07-29 01:14:50 +02:00
docs docs: Mention the helm chart in the installation instructions (#475) 2021-05-05 10:35:02 +02:00
examples Use new URL for public tus demo server 2020-10-02 12:44:12 +02:00
internal/uid core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
pkg azurestore: Add implementation 2021-07-29 01:14:50 +02:00
scripts azurestore: Add implementation 2021-07-29 01:14:50 +02:00
.gitignore Remove frey references 2018-03-14 12:27:48 +01:00
Dockerfile azurestore: Add implementation 2021-07-29 01:14:50 +02:00
LICENSE.txt Update year 2017-01-19 21:20:12 +01:00
Procfile Heroku deployment (#425) 2020-09-11 15:20:18 +02:00
README.md docs: Add CI badge for GitHub Actions 2019-10-16 14:22:31 +02:00
go.mod azurestore: Add implementation 2021-07-29 01:14:50 +02:00
go.sum azurestore: Add implementation 2021-07-29 01:14:50 +02:00

README.md

tusd

Tus logo

tus is a protocol based on HTTP for resumable file uploads. Resumable means that an upload can be interrupted at any moment and can be resumed without re-uploading the previous data again. An interruption may happen willingly, if the user wants to pause, or by accident in case of an network issue or server outage.

tusd is the official reference implementation of the tus resumable upload protocol. The protocol specifies a flexible method to upload files to remote servers using HTTP. The special feature is the ability to pause and resume uploads at any moment allowing to continue seamlessly after e.g. network interruptions.

It is capable of accepting uploads with arbitrary sizes and storing them locally on disk, on Google Cloud Storage or on AWS S3 (or any other S3-compatible storage system). Due to its modularization and extensibility, support for nearly any other cloud provider could easily be added to tusd.

Protocol version: 1.0.0

This branch contains tusd v1. If you are looking for the previous major release, after which breaking changes have been introduced, please look at the 0.14.0 tag.

Documentation

Build status

Build Status

License

This project is licensed under the MIT license, see LICENSE.txt.