hinha / socket-storage

Storage Like S3, GCP Storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

socket-storage

Storage Like S3, GCP Storage

Usage

Environment

export BUCKET_NAME="name"
export BUCKET_REGION="region"
export ARN_KEY="key"

Initialize

Setup grpc python

> pip install -r requirements.txt

> python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. ./proto/filestream.proto
> python py-rpc/main.py

# running on port 50081 

Setup grpc go

> protoc ./py-rpc/proto/filestream.proto --go_out=plugins=grpc:.
> go run cmd/s3/main.go local

About

Storage Like S3, GCP Storage

License:GNU General Public License v3.0


Languages

Language:Go 66.7%Language:HTML 16.1%Language:Python 15.0%Language:Dockerfile 1.2%Language:Makefile 0.7%Language:Forth 0.4%