command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 16, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
cos_proxy
功能
- 在腾讯云服务器上反代COS对象存储,实现免流
- 支持私有读
- 支持数据处理
使用方法
下载预构建文件 or 源码编译
go get github.com/ravizhan/cos_proxy
go build
运行
第一次运行会生成配置文件,请将每一项填写完整后再运行
| 字段 |
释义 |
| BucketUrl |
访问域名 格式: .cos.<Region>.myqcloud.com |
| SecretId |
用户的 SecretId,建议使用子账号密钥 |
| SecretKey |
用户的 SecretKey,建议使用子账号密钥 |
| Suffix |
文件参数 例: /image.jpg<Suffix> |
| Port |
监听端口 |
后记
一时心血来潮写的。
正好最近在学GO,浅浅试个水。
本来是自己用的,但想了想还是开源了,虽然可能没什么人用就是了。
嗯,就这样
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.