Reference server implementation in Go of tus: the open protocol for resumable file uploads
Go to file
Acconut e0fa7556b4 add limitedstore 2015-04-11 13:40:39 +02:00
filestore return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
limitedstore add limitedstore 2015-04-11 13:40:39 +02:00
tusd add limitedstore 2015-04-11 13:40:39 +02:00
uid rewrite tusd 2015-02-01 14:57:57 +01:00
.gitignore use tusd.FileInfo in DataStore.NewUpload 2015-02-16 17:53:50 +01:00
.travis.yml add test for filestore 2015-02-12 16:06:15 +01:00
LICENSE.txt rewrite tusd 2015-02-01 14:57:57 +01:00
README.md add badge for appveyor in README 2015-02-28 16:10:11 +01:00
appveyor.yml setup golang directories on appveyor 2015-02-28 15:38:03 +01:00
concat_test.go add test for returning offset after concatenation 2015-03-31 23:51:28 +02:00
cors_test.go refactor tests using httpTest 2015-02-17 15:44:12 +01:00
datastore.go return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
get_test.go refactor tests using httpTest 2015-02-17 15:44:12 +01:00
handler.go return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
handler_test.go return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
head_test.go update header names 2015-03-23 18:15:05 +01:00
options_test.go fix Tus-Extension test 2015-03-23 19:02:39 +01:00
patch_test.go return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
post_test.go update header names 2015-03-23 18:15:05 +01:00
terminate_test.go update header names 2015-03-23 18:15:05 +01:00

README.md

tusd

Build Status Build status

tusd is the official reference implementation of the tus resumable upload protocol.

This means it is meant for client authors to verify their implementations as well as server authors who may look at it for inspiration.

In the future tusd may be extended with additional functionality to make it suitable as a standalone production upload server, but for now this is not a priority.

Protocol version: 1.0.0

Getting started

Requirements:

  • Go (1.2 or newer)

Running tusd from source:

Clone the git repository and cd into it.

git clone git@github.com:tus/tusd.git
cd tusd

Now you can run tusd:

go run tusd/main.go

Running the testsuite

go test -v ./...

License

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