Skip to content

bitiful/s3-presigned-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 获取预签名接口 Server

运行方式

1. 直接使用二进制文件运行

macOS - Apple Silicon

执行

BUCKET=<your_bucket> AK=<your-bitiful-s3-accesskey> SK=<your-bitiful-s3-secretkey> ./api-server-mac

Windows

执行

BUCKET=<your_bucket> AK=<your-bitiful-s3-accesskey> SK=<your-bitiful-s3-secretkey> ./api-server-win.exe

2. 使用 go 编译运行

go mod tidy && go mod vendor`
BUCKET=<your_bucket> AK=<your-bitiful-s3-accesskey> SK=<your-bitiful-s3-secretkey> go run main.go

其他编译命令参考

x86 架构 macOS 下编译

GOOS=darwin GOARCH=amd64 go build -o api-server-mac main.go

编译为 Windows 可执行文件

GOOS=windows GOARCH=amd64 go build -o api-server-win.exe main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages