Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sjqzhang/go-fastdfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: neezhe/go-fastdfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on Dec 29, 2018

  1. Update README.md

    sjqzhang authored Dec 29, 2018
    Copy the full SHA
    023f2ec View commit details
  2. Update README.md

    sjqzhang authored Dec 29, 2018
    Copy the full SHA
    ded487a View commit details
  3. Update fileserver.go

    sjqzhang authored Dec 29, 2018
    Copy the full SHA
    75d43f9 View commit details
  4. Update README.md

    sjqzhang authored Dec 29, 2018
    Copy the full SHA
    5b89c8e View commit details

Commits on Dec 30, 2018

  1. Update fileserver.go

    sjqzhang authored Dec 30, 2018
    Copy the full SHA
    b86adb6 View commit details
  2. Update fileserver.go

    sjqzhang authored Dec 30, 2018
    Copy the full SHA
    2cd0961 View commit details
  3. Update README.md

    sjqzhang authored Dec 30, 2018
    Copy the full SHA
    f9210d1 View commit details
  4. Update fileserver.go

    sjqzhang authored Dec 30, 2018
    Copy the full SHA
    e525836 View commit details

Commits on Dec 31, 2018

  1. Update fileserver.go

    sjqzhang authored Dec 31, 2018
    Copy the full SHA
    f0ddf34 View commit details
  2. Update fileserver.go

    sjqzhang authored Dec 31, 2018
    Copy the full SHA
    93da2dd View commit details
  3. Update fileserver.go

    sjqzhang authored Dec 31, 2018
    Copy the full SHA
    fa93126 View commit details

Commits on Jan 1, 2019

  1. Update fileserver.go

    sjqzhang authored Jan 1, 2019
    Copy the full SHA
    8afd9db View commit details
  2. Update fileserver.go

    sjqzhang authored Jan 1, 2019
    Copy the full SHA
    5f614ae View commit details
  3. Update fileserver.go

    sjqzhang authored Jan 1, 2019
    Copy the full SHA
    50ef5aa View commit details

Commits on Jan 2, 2019

  1. Update fileserver.go

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    bd55548 View commit details
  2. Update fileserver.go

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    66c3f1e View commit details
  3. Update fileserver.go

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    229ae21 View commit details
  4. Update fileserver.go

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    964dba5 View commit details
  5. Update README.md

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    b1340aa View commit details
  6. Update README.md

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    fe1cb15 View commit details
  7. Update fileserver.go

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    e00d4e6 View commit details
  8. Update README.md

    sjqzhang authored Jan 2, 2019
    Copy the full SHA
    54bd381 View commit details

Commits on Jan 3, 2019

  1. Update fileserver.go

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    8d2be9c View commit details
  2. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    7a2cb8b View commit details
  3. Update fileserver.go

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    fc4a769 View commit details
  4. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    9751281 View commit details
  5. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    831f818 View commit details
  6. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    47887b3 View commit details
  7. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    21dd001 View commit details
  8. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    9cf55d8 View commit details
  9. Update fileserver.go

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    b7386db View commit details
  10. Update README.md

    sjqzhang authored Jan 3, 2019
    Copy the full SHA
    cbfaf00 View commit details
  11. 更新 fileserver.go

    sjqzhang committed Jan 3, 2019
    Copy the full SHA
    ec4d34d View commit details

Commits on Jan 4, 2019

  1. add custom path

    sjqzhang committed Jan 4, 2019
    Copy the full SHA
    a10f830 View commit details

Commits on Jan 6, 2019

  1. add vendor

    sjqzhang committed Jan 6, 2019
    Copy the full SHA
    19e2f50 View commit details

Commits on Jan 7, 2019

  1. remove files from url

    sjqzhang committed Jan 7, 2019
    Copy the full SHA
    846fdd0 View commit details

Commits on Jan 8, 2019

  1. add scence

    sjqzhang committed Jan 8, 2019
    Copy the full SHA
    039da60 View commit details
  2. add del file

    sjqzhang committed Jan 8, 2019
    Copy the full SHA
    92520bf View commit details
  3. Copy the full SHA
    dfdcc87 View commit details
  4. Copy the full SHA
    f3bb41e View commit details

Commits on Jan 9, 2019

  1. add stat for every date

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    d3a7dfd View commit details
  2. add self check

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    5f580af View commit details
  3. add alarm feature

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    9597214 View commit details
  4. add alarm mail

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    c265195 View commit details
  5. Just for Compatibility

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    ebcccb6 View commit details
  6. add download check token

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    2fd3040 View commit details
  7. bug fix token download

    sjqzhang committed Jan 9, 2019
    Copy the full SHA
    9e4d308 View commit details

Commits on Jan 16, 2019

  1. optimizer code

    sjqzhang committed Jan 16, 2019
    Copy the full SHA
    7e10d01 View commit details
  2. optimier code

    sjqzhang committed Jan 16, 2019
    Copy the full SHA
    06e61b9 View commit details
  3. add repairstat

    sjqzhang committed Jan 16, 2019
    Copy the full SHA
    2c88962 View commit details
Showing with 64,217 additions and 121 deletions.
  1. +38 −0 Dockerfile
  2. +540 −0 README-en.md
  3. +514 −2 README.md
  4. +42 −0 benchmark.py
  5. +9 −0 build.sh
  6. +108 −0 control
  7. +93 −0 doc/api.md
  8. BIN doc/authentication.png
  9. BIN doc/authentication2.png
  10. +3,917 −0 doc/coverage.html
  11. BIN doc/go-fastdfs-deploy.png
  12. BIN doc/logo.png
  13. BIN doc/pay.png
  14. +63 −0 doc/upload.md
  15. BIN doc/wechat.jpg
  16. +3,617 −119 fileserver.go
  17. +403 −0 fileserver_test.go
  18. +9 −0 gen_file.py
  19. +15 −0 gofastdfs.service
  20. +58 −0 nginx/gofastdfs.conf
  21. +182 −0 static/report.html
  22. +47 −0 static/uppy.html
  23. +13 −0 vendor/github.com/astaxie/beego/LICENSE
  24. +97 −0 vendor/github.com/astaxie/beego/httplib/README.md
  25. +624 −0 vendor/github.com/astaxie/beego/httplib/httplib.go
  26. +82 −0 vendor/github.com/bmizerany/pat/README.md
  27. +314 −0 vendor/github.com/bmizerany/pat/mux.go
  28. +24 −0 vendor/github.com/cihub/seelog/LICENSE.txt
  29. +198 −0 vendor/github.com/cihub/seelog/archive/archive.go
  30. +64 −0 vendor/github.com/cihub/seelog/archive/gzip/gzip.go
  31. +72 −0 vendor/github.com/cihub/seelog/archive/tar/tar.go
  32. +89 −0 vendor/github.com/cihub/seelog/archive/zip/zip.go
  33. +22 −0 vendor/github.com/deckarep/golang-set/LICENSE
  34. +95 −0 vendor/github.com/deckarep/golang-set/README.md
  35. +58 −0 vendor/github.com/deckarep/golang-set/iterator.go
  36. +214 −0 vendor/github.com/deckarep/golang-set/set.go
  37. +271 −0 vendor/github.com/deckarep/golang-set/threadsafe.go
  38. +325 −0 vendor/github.com/deckarep/golang-set/threadunsafe.go
  39. +9 −0 vendor/github.com/eventials/go-tus/Dockerfile
  40. +21 −0 vendor/github.com/eventials/go-tus/LICENSE
  41. +62 −0 vendor/github.com/eventials/go-tus/README.md
  42. +260 −0 vendor/github.com/eventials/go-tus/client.go
  43. +48 −0 vendor/github.com/eventials/go-tus/config.go
  44. +8 −0 vendor/github.com/eventials/go-tus/doc.go
  45. +8 −0 vendor/github.com/eventials/go-tus/docker-compose.yml
  46. +29 −0 vendor/github.com/eventials/go-tus/errors.go
  47. +8 −0 vendor/github.com/eventials/go-tus/store.go
  48. +107 −0 vendor/github.com/eventials/go-tus/upload.go
  49. +115 −0 vendor/github.com/eventials/go-tus/uploader.go
  50. +15 −0 vendor/github.com/golang/snappy/AUTHORS
  51. +37 −0 vendor/github.com/golang/snappy/CONTRIBUTORS
  52. +27 −0 vendor/github.com/golang/snappy/LICENSE
  53. +107 −0 vendor/github.com/golang/snappy/README
  54. +237 −0 vendor/github.com/golang/snappy/decode.go
  55. +14 −0 vendor/github.com/golang/snappy/decode_amd64.go
  56. +490 −0 vendor/github.com/golang/snappy/decode_amd64.s
  57. +101 −0 vendor/github.com/golang/snappy/decode_other.go
  58. +285 −0 vendor/github.com/golang/snappy/encode.go
  59. +29 −0 vendor/github.com/golang/snappy/encode_amd64.go
  60. +730 −0 vendor/github.com/golang/snappy/encode_amd64.s
  61. +238 −0 vendor/github.com/golang/snappy/encode_other.go
  62. +98 −0 vendor/github.com/golang/snappy/snappy.go
  63. +33 −0 vendor/github.com/json-iterator/go/Gopkg.lock
  64. +33 −0 vendor/github.com/json-iterator/go/Gopkg.toml
  65. +21 −0 vendor/github.com/json-iterator/go/LICENSE
  66. +86 −0 vendor/github.com/json-iterator/go/README.md
  67. +12 −0 vendor/github.com/json-iterator/go/build.sh
  68. +133 −0 vendor/github.com/json-iterator/go/feature_adapter.go
  69. +245 −0 vendor/github.com/json-iterator/go/feature_any.go
  70. +278 −0 vendor/github.com/json-iterator/go/feature_any_array.go
  71. +137 −0 vendor/github.com/json-iterator/go/feature_any_bool.go
  72. +83 −0 vendor/github.com/json-iterator/go/feature_any_float.go
  73. +74 −0 vendor/github.com/json-iterator/go/feature_any_int32.go
  74. +74 −0 vendor/github.com/json-iterator/go/feature_any_int64.go
  75. +82 −0 vendor/github.com/json-iterator/go/feature_any_invalid.go
  76. +69 −0 vendor/github.com/json-iterator/go/feature_any_nil.go
  77. +104 −0 vendor/github.com/json-iterator/go/feature_any_number.go
  78. +374 −0 vendor/github.com/json-iterator/go/feature_any_object.go
  79. +166 −0 vendor/github.com/json-iterator/go/feature_any_string.go
  80. +74 −0 vendor/github.com/json-iterator/go/feature_any_uint32.go
  81. +74 −0 vendor/github.com/json-iterator/go/feature_any_uint64.go
  82. +348 −0 vendor/github.com/json-iterator/go/feature_config.go
  83. +322 −0 vendor/github.com/json-iterator/go/feature_iter.go
  84. +58 −0 vendor/github.com/json-iterator/go/feature_iter_array.go
  85. +341 −0 vendor/github.com/json-iterator/go/feature_iter_float.go
  86. +339 −0 vendor/github.com/json-iterator/go/feature_iter_int.go
  87. +267 −0 vendor/github.com/json-iterator/go/feature_iter_object.go
  88. +129 −0 vendor/github.com/json-iterator/go/feature_iter_skip.go
  89. +144 −0 vendor/github.com/json-iterator/go/feature_iter_skip_sloppy.go
  90. +89 −0 vendor/github.com/json-iterator/go/feature_iter_skip_strict.go
  91. +215 −0 vendor/github.com/json-iterator/go/feature_iter_string.go
  92. +31 −0 vendor/github.com/json-iterator/go/feature_json_number.go
  93. +59 −0 vendor/github.com/json-iterator/go/feature_pool.go
  94. +607 −0 vendor/github.com/json-iterator/go/feature_reflect.go
  95. +93 −0 vendor/github.com/json-iterator/go/feature_reflect_array.go
  96. +421 −0 vendor/github.com/json-iterator/go/feature_reflect_extension.go
  97. +260 −0 vendor/github.com/json-iterator/go/feature_reflect_map.go
  98. +764 −0 vendor/github.com/json-iterator/go/feature_reflect_native.go
  99. +195 −0 vendor/github.com/json-iterator/go/feature_reflect_object.go
  100. +104 −0 vendor/github.com/json-iterator/go/feature_reflect_optional.go
  101. +141 −0 vendor/github.com/json-iterator/go/feature_reflect_slice.go
  102. +966 −0 vendor/github.com/json-iterator/go/feature_reflect_struct_decoder.go
  103. +308 −0 vendor/github.com/json-iterator/go/feature_stream.go
  104. +96 −0 vendor/github.com/json-iterator/go/feature_stream_float.go
  105. +320 −0 vendor/github.com/json-iterator/go/feature_stream_int.go
  106. +396 −0 vendor/github.com/json-iterator/go/feature_stream_string.go
  107. +7 −0 vendor/github.com/json-iterator/go/fuzzy_mode_convert_table.md
  108. +18 −0 vendor/github.com/json-iterator/go/jsoniter.go
  109. +12 −0 vendor/github.com/json-iterator/go/test.sh
  110. +13 −0 vendor/github.com/nfnt/resize/LICENSE
  111. +151 −0 vendor/github.com/nfnt/resize/README.md
  112. +438 −0 vendor/github.com/nfnt/resize/converter.go
  113. +143 −0 vendor/github.com/nfnt/resize/filters.go
  114. +318 −0 vendor/github.com/nfnt/resize/nearest.go
  115. +620 −0 vendor/github.com/nfnt/resize/resize.go
  116. +55 −0 vendor/github.com/nfnt/resize/thumbnail.go
  117. +387 −0 vendor/github.com/nfnt/resize/ycc.go
  118. +202 −0 vendor/github.com/sjqzhang/LICENSE
  119. +5 −0 vendor/github.com/sjqzhang/NOTICE
  120. +46 −0 vendor/github.com/sjqzhang/googleAuthenticator/README.md
  121. +34 −0 vendor/github.com/sjqzhang/googleAuthenticator/auth.go
  122. +18 −0 vendor/github.com/sjqzhang/googleAuthenticator/error.go
  123. +111 −0 vendor/github.com/sjqzhang/googleAuthenticator/google.go
  124. +19 −0 vendor/github.com/sjqzhang/googleAuthenticator/hmac.go
  125. +531 −0 vendor/github.com/sjqzhang/goutil/goutil.go
  126. +24 −0 vendor/github.com/sjqzhang/seelog/LICENSE.txt
  127. +116 −0 vendor/github.com/sjqzhang/seelog/README.markdown
  128. +129 −0 vendor/github.com/sjqzhang/seelog/behavior_adaptivelogger.go
  129. +142 −0 vendor/github.com/sjqzhang/seelog/behavior_asynclogger.go
  130. +69 −0 vendor/github.com/sjqzhang/seelog/behavior_asynclooplogger.go
  131. +82 −0 vendor/github.com/sjqzhang/seelog/behavior_asynctimerlogger.go
  132. +75 −0 vendor/github.com/sjqzhang/seelog/behavior_synclogger.go
  133. +212 −0 vendor/github.com/sjqzhang/seelog/cfg_config.go
  134. +61 −0 vendor/github.com/sjqzhang/seelog/cfg_errors.go
  135. +141 −0 vendor/github.com/sjqzhang/seelog/cfg_logconfig.go
  136. +1,269 −0 vendor/github.com/sjqzhang/seelog/cfg_parser.go
  137. +25 −0 vendor/github.com/sjqzhang/seelog/common_closer.go
  138. +162 −0 vendor/github.com/sjqzhang/seelog/common_constraints.go
  139. +234 −0 vendor/github.com/sjqzhang/seelog/common_context.go
  140. +194 −0 vendor/github.com/sjqzhang/seelog/common_exception.go
  141. +31 −0 vendor/github.com/sjqzhang/seelog/common_flusher.go
  142. +81 −0 vendor/github.com/sjqzhang/seelog/common_loglevel.go
  143. +242 −0 vendor/github.com/sjqzhang/seelog/dispatch_custom.go
  144. +189 −0 vendor/github.com/sjqzhang/seelog/dispatch_dispatcher.go
  145. +66 −0 vendor/github.com/sjqzhang/seelog/dispatch_filterdispatcher.go
  146. +47 −0 vendor/github.com/sjqzhang/seelog/dispatch_splitdispatcher.go
  147. +175 −0 vendor/github.com/sjqzhang/seelog/doc.go
  148. +466 −0 vendor/github.com/sjqzhang/seelog/format.go
  149. +10 −0 vendor/github.com/sjqzhang/seelog/internals_baseerror.go
  150. +320 −0 vendor/github.com/sjqzhang/seelog/internals_fsutils.go
  151. +175 −0 vendor/github.com/sjqzhang/seelog/internals_xmlnode.go
  152. +307 −0 vendor/github.com/sjqzhang/seelog/log.go
  153. +370 −0 vendor/github.com/sjqzhang/seelog/logger.go
  154. +161 −0 vendor/github.com/sjqzhang/seelog/writers_bufferedwriter.go
  155. +144 −0 vendor/github.com/sjqzhang/seelog/writers_connwriter.go
  156. +47 −0 vendor/github.com/sjqzhang/seelog/writers_consolewriter.go
  157. +92 −0 vendor/github.com/sjqzhang/seelog/writers_filewriter.go
  158. +62 −0 vendor/github.com/sjqzhang/seelog/writers_formattedwriter.go
  159. +763 −0 vendor/github.com/sjqzhang/seelog/writers_rollingfilewriter.go
  160. +214 −0 vendor/github.com/sjqzhang/seelog/writers_smtpwriter.go
  161. +35 −0 vendor/github.com/sjqzhang/tusd/Dockerfile
  162. +19 −0 vendor/github.com/sjqzhang/tusd/LICENSE.txt
  163. +272 −0 vendor/github.com/sjqzhang/tusd/README.md
  164. +26 −0 vendor/github.com/sjqzhang/tusd/appveyor.yml
  165. +138 −0 vendor/github.com/sjqzhang/tusd/composer.go
  166. +91 −0 vendor/github.com/sjqzhang/tusd/composer.mgo
  167. +83 −0 vendor/github.com/sjqzhang/tusd/config.go
  168. +124 −0 vendor/github.com/sjqzhang/tusd/datastore.go
  169. +69 −0 vendor/github.com/sjqzhang/tusd/doc.go
  170. +229 −0 vendor/github.com/sjqzhang/tusd/filestore/filestore.go
  171. +55 −0 vendor/github.com/sjqzhang/tusd/handler.go
  172. +27 −0 vendor/github.com/sjqzhang/tusd/log.go
  173. +137 −0 vendor/github.com/sjqzhang/tusd/metrics.go
  174. +8 −0 vendor/github.com/sjqzhang/tusd/tusd.code-workspace
  175. +23 −0 vendor/github.com/sjqzhang/tusd/uid/uid.go
  176. +1,067 −0 vendor/github.com/sjqzhang/tusd/unrouted_handler.go
  177. +24 −0 vendor/github.com/syndtr/goleveldb/LICENSE
  178. +349 −0 vendor/github.com/syndtr/goleveldb/leveldb/batch.go
  179. +704 −0 vendor/github.com/syndtr/goleveldb/leveldb/cache/cache.go
  180. +195 −0 vendor/github.com/syndtr/goleveldb/leveldb/cache/lru.go
  181. +67 −0 vendor/github.com/syndtr/goleveldb/leveldb/comparer.go
  182. +51 −0 vendor/github.com/syndtr/goleveldb/leveldb/comparer/bytes_comparer.go
  183. +57 −0 vendor/github.com/syndtr/goleveldb/leveldb/comparer/comparer.go
  184. +1,175 −0 vendor/github.com/syndtr/goleveldb/leveldb/db.go
  185. +854 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go
  186. +360 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_iter.go
  187. +183 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_snapshot.go
  188. +239 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_state.go
  189. +325 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_transaction.go
  190. +102 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_util.go
  191. +464 −0 vendor/github.com/syndtr/goleveldb/leveldb/db_write.go
  192. +92 −0 vendor/github.com/syndtr/goleveldb/leveldb/doc.go
  193. +20 −0 vendor/github.com/syndtr/goleveldb/leveldb/errors.go
  194. +78 −0 vendor/github.com/syndtr/goleveldb/leveldb/errors/errors.go
  195. +31 −0 vendor/github.com/syndtr/goleveldb/leveldb/filter.go
  196. +116 −0 vendor/github.com/syndtr/goleveldb/leveldb/filter/bloom.go
  197. +60 −0 vendor/github.com/syndtr/goleveldb/leveldb/filter/filter.go
  198. +184 −0 vendor/github.com/syndtr/goleveldb/leveldb/iterator/array_iter.go
  199. +242 −0 vendor/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go
  200. +132 −0 vendor/github.com/syndtr/goleveldb/leveldb/iterator/iter.go
  201. +304 −0 vendor/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go
  202. +524 −0 vendor/github.com/syndtr/goleveldb/leveldb/journal/journal.go
  203. +143 −0 vendor/github.com/syndtr/goleveldb/leveldb/key.go
  204. +475 −0 vendor/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go
  205. +697 −0 vendor/github.com/syndtr/goleveldb/leveldb/opt/options.go
  206. +107 −0 vendor/github.com/syndtr/goleveldb/leveldb/options.go
  207. +210 −0 vendor/github.com/syndtr/goleveldb/leveldb/session.go
  208. +302 −0 vendor/github.com/syndtr/goleveldb/leveldb/session_compaction.go
  209. +323 −0 vendor/github.com/syndtr/goleveldb/leveldb/session_record.go
  210. +271 −0 vendor/github.com/syndtr/goleveldb/leveldb/session_util.go
  211. +63 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage.go
  212. +671 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go
  213. +34 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_nacl.go
  214. +63 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_plan9.go
  215. +81 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_solaris.go
  216. +98 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_unix.go
  217. +78 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_windows.go
  218. +222 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/mem_storage.go
  219. +187 −0 vendor/github.com/syndtr/goleveldb/leveldb/storage/storage.go
  220. +531 −0 vendor/github.com/syndtr/goleveldb/leveldb/table.go
  221. +1,135 −0 vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go
  222. +177 −0 vendor/github.com/syndtr/goleveldb/leveldb/table/table.go
  223. +375 −0 vendor/github.com/syndtr/goleveldb/leveldb/table/writer.go
  224. +98 −0 vendor/github.com/syndtr/goleveldb/leveldb/util.go
  225. +293 −0 vendor/github.com/syndtr/goleveldb/leveldb/util/buffer.go
  226. +239 −0 vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go
  227. +30 −0 vendor/github.com/syndtr/goleveldb/leveldb/util/crc32.go
  228. +48 −0 vendor/github.com/syndtr/goleveldb/leveldb/util/hash.go
  229. +32 −0 vendor/github.com/syndtr/goleveldb/leveldb/util/range.go
  230. +73 −0 vendor/github.com/syndtr/goleveldb/leveldb/util/util.go
  231. +528 −0 vendor/github.com/syndtr/goleveldb/leveldb/version.go
  232. +35 −0 vendor/github.com/tus/tusd/Dockerfile
  233. +19 −0 vendor/github.com/tus/tusd/LICENSE.txt
  234. +272 −0 vendor/github.com/tus/tusd/README.md
  235. +26 −0 vendor/github.com/tus/tusd/appveyor.yml
  236. +138 −0 vendor/github.com/tus/tusd/composer.go
  237. +91 −0 vendor/github.com/tus/tusd/composer.mgo
  238. +83 −0 vendor/github.com/tus/tusd/config.go
  239. +124 −0 vendor/github.com/tus/tusd/datastore.go
  240. +69 −0 vendor/github.com/tus/tusd/doc.go
  241. +218 −0 vendor/github.com/tus/tusd/filestore/filestore.go
  242. +55 −0 vendor/github.com/tus/tusd/handler.go
  243. +27 −0 vendor/github.com/tus/tusd/log.go
  244. +137 −0 vendor/github.com/tus/tusd/metrics.go
  245. +8 −0 vendor/github.com/tus/tusd/tusd.code-workspace
  246. +23 −0 vendor/github.com/tus/tusd/uid/uid.go
  247. +1,033 −0 vendor/github.com/tus/tusd/unrouted_handler.go
  248. +19 −0 vendor/gopkg.in/Acconut/lockfile.v1/LICENSE
  249. +50 −0 vendor/gopkg.in/Acconut/lockfile.v1/README.md
  250. +13 −0 vendor/gopkg.in/Acconut/lockfile.v1/appveyor.yml
  251. +201 −0 vendor/gopkg.in/Acconut/lockfile.v1/lockfile.go
  252. +20 −0 vendor/gopkg.in/Acconut/lockfile.v1/lockfile_unix.go
  253. +30 −0 vendor/gopkg.in/Acconut/lockfile.v1/lockfile_windows.go
  254. +201 −0 vendor/gopkg.in/yaml.v2/LICENSE
  255. +31 −0 vendor/gopkg.in/yaml.v2/LICENSE.libyaml
  256. +13 −0 vendor/gopkg.in/yaml.v2/NOTICE
  257. +133 −0 vendor/gopkg.in/yaml.v2/README.md
  258. +739 −0 vendor/gopkg.in/yaml.v2/apic.go
  259. +775 −0 vendor/gopkg.in/yaml.v2/decode.go
  260. +1,685 −0 vendor/gopkg.in/yaml.v2/emitterc.go
  261. +362 −0 vendor/gopkg.in/yaml.v2/encode.go
  262. +5 −0 vendor/gopkg.in/yaml.v2/go.mod
  263. +1,095 −0 vendor/gopkg.in/yaml.v2/parserc.go
  264. +412 −0 vendor/gopkg.in/yaml.v2/readerc.go
  265. +258 −0 vendor/gopkg.in/yaml.v2/resolve.go
  266. +2,696 −0 vendor/gopkg.in/yaml.v2/scannerc.go
  267. +113 −0 vendor/gopkg.in/yaml.v2/sorter.go
  268. +26 −0 vendor/gopkg.in/yaml.v2/writerc.go
  269. +466 −0 vendor/gopkg.in/yaml.v2/yaml.go
  270. +738 −0 vendor/gopkg.in/yaml.v2/yamlh.go
  271. +173 −0 vendor/gopkg.in/yaml.v2/yamlprivateh.go
  272. +196 −0 vendor/vendor.json
38 changes: 38 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
FROM registry.cn-hangzhou.aliyuncs.com/prince/alpine-golang:1.11.5 as builder
MAINTAINER prince <8923052@qq.com>
ARG VERSION=1.1.7
RUN set -xe; \
apk update; \
apk add --no-cache --virtual .build-deps \
git; \
cd /go/src/; \
git clone https://github.com/sjqzhang/go-fastdfs.git; \
cd go-fastdfs; \
go get; \
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o fileserver; \
ls -lh .;
FROM registry.cn-hangzhou.aliyuncs.com/prince/alpine-bash

COPY --from=builder /go/src/go-fastdfs/fileserver /

ENV INSTALL_DIR /usr/local/go-fastdfs

ENV PATH $PATH:$INSTALL_DIR/

ENV GO_FASTDFS_DIR $INSTALL_DIR/data

RUN set -xe; \
mkdir -p $GO_FASTDFS_DIR; \
mkdir -p $GO_FASTDFS_DIR/conf; \
mkdir -p $GO_FASTDFS_DIR/data; \
mkdir -p $GO_FASTDFS_DIR/files; \
mkdir -p $GO_FASTDFS_DIR/log; \
mkdir -p $INSTALL_DIR; \
mv /fileserver $INSTALL_DIR/; \
chmod +x $INSTALL_DIR/fileserver;

WORKDIR $INSTALL_DIR

VOLUME $GO_FASTDFS_DIR

CMD ["fileserver" , "${OPTS}"]
Loading