Reference server implementation in Go of tus: the open protocol for resumable file uploads
Go to file
Felix Geisendörfer 35811f77b4 Merge pull request #18 from doggy/master
fix bug: a broken http connection will cause io.Copy() stuck and file’s ...
2013-12-12 21:02:42 -08:00
scripts Compatibility note 2013-05-08 15:45:25 +02:00
src fix bug: a broken http connection will cause io.Copy() stuck and file’s offset will not be updated 2013-12-12 17:15:08 +08:00
.gitignore New skeleton 2013-05-02 15:25:02 +02:00
LICENSE.txt Add MIT License 2013-04-16 13:25:45 +03:00
README.md 0.2.1 is supported 2013-05-21 10:30:05 +02:00
dev.sh New skeleton 2013-05-02 15:25:02 +02: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: 0.2.1

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.