Reference server implementation in Go of tus: the open protocol for resumable file uploads
Go to file
Acconut c08de4de83 run tests on travis-ci 2015-02-01 15:02:52 +01:00
filestore rewrite tusd 2015-02-01 14:57:57 +01:00
tusd rewrite tusd 2015-02-01 14:57:57 +01:00
uid rewrite tusd 2015-02-01 14:57:57 +01:00
.gitignore rewrite tusd 2015-02-01 14:57:57 +01:00
.travis.yml run tests on travis-ci 2015-02-01 15:02:52 +01:00
LICENSE.txt rewrite tusd 2015-02-01 14:57:57 +01:00
README.md rewrite tusd 2015-02-01 14:57:57 +01:00
datastore.go rewrite tusd 2015-02-01 14:57:57 +01:00
handler.go rewrite tusd 2015-02-01 14:57:57 +01:00
handler_test.go rewrite tusd 2015-02-01 14:57:57 +01:00

README.md

tusd

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:

Running tusd from source:

Clone the git repository and cd into it.

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

Next source the dev.sh file. You need to do this for each shell session you plan to use for running tus from source. It basically configures a local gopath for you, so you don't have to install tusd globally.

source dev.sh

Now you can run tusd:

go run src/cmd/tusd/main.go

Running the testsuite

cd src/http
go test -v .

License

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