├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── fileserver.go ├── http ├── request.go ├── response.go ├── server.go └── server_test.go ├── main.go ├── run-tests.bash ├── test-fixtures ├── 100.txt ├── a b c (d) │ ├── e f g [h] │ │ └── test.txt │ └── یک.txt ├── date.txt └── results.txt └── tests.bash /.gitignore: -------------------------------------------------------------------------------- 1 | gofile 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.7 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/README.md -------------------------------------------------------------------------------- /fileserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/fileserver.go -------------------------------------------------------------------------------- /http/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/http/request.go -------------------------------------------------------------------------------- /http/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/http/response.go -------------------------------------------------------------------------------- /http/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/http/server.go -------------------------------------------------------------------------------- /http/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/http/server_test.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/main.go -------------------------------------------------------------------------------- /run-tests.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/run-tests.bash -------------------------------------------------------------------------------- /test-fixtures/100.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/test-fixtures/100.txt -------------------------------------------------------------------------------- /test-fixtures/a b c (d)/e f g [h]/test.txt: -------------------------------------------------------------------------------- 1 | world 2 | -------------------------------------------------------------------------------- /test-fixtures/a b c (d)/یک.txt: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test-fixtures/date.txt: -------------------------------------------------------------------------------- 1 | Tue Mar 1 10:13:47 2016 2 | -------------------------------------------------------------------------------- /test-fixtures/results.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/test-fixtures/results.txt -------------------------------------------------------------------------------- /tests.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siadat/gofile/HEAD/tests.bash --------------------------------------------------------------------------------