HTTPUploadBigFile

command module
v0.0.0-...-3595635 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 3 Imported by: 0

README

HTTPUploadBigFile

upload big file, html5, http, file slice

支持上传大文件,测试 50G 文件稳定上传,测试环境:chrome+ubuntu16.04

使用

$ go run main.go
2019/07/09 15:40:47.143 [I] [asm_amd64.s:1337]  http server Running on http://127.0.0.1:8080

访问网页: http://127.0.0.1:8080 ,选择一个大文件上传。

配置文件

conf/app.conf

appname = HTTPUploadBigFile
httpaddr = 127.0.0.1
httpport = 8080
runmode = dev
RuntimeUploadDataDirectory = /tmp/httpbigfile/runtime/uploaddata

RuntimeUploadDataDirectory 是上传之后的文件存放路径。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
modules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL