command
module
Version:
v0.0.0-...-f59e2c3
Opens a new window with list of versions in this module.
Published: Jan 24, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
fc
fc 是通过HTTP协议接收上传文件的小应用。
主要特性如下:
- 使用HTTP协议访问
- 提供MD5和SHA256摘要验证
- 上传文件可以保存 本地、FastDFS、阿里云OSS
- 上传成功后返回文件下载地址
使用方法:
- git clone https://github.com/op-y/fc.git
- cd fc
- go build -o bin/fc
- 根据实际情况修改config.json和fastdfs.conf配置
- ./control start
注意事项:
- 在外网环境需要考虑安全问题,尽量使用HTTPS协议,密钥需要妥善保存并且定时更新。
- 文件上传请求性能相对较低(磁盘IO频繁),必要时做水平扩展加反向代理。
- FastDFS 和 local 后端特性集成中...
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
application
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.