https://github.com/hinha/socket-storage
Storage Like S3, GCP Storage
https://github.com/hinha/socket-storage
clean-architecture go-grpc go-grpc-example golang-websocket-example golang-websocket-server python-grpc websocket websocket-example
Last synced: 3 months ago
JSON representation
Storage Like S3, GCP Storage
- Host: GitHub
- URL: https://github.com/hinha/socket-storage
- Owner: hinha
- License: gpl-3.0
- Created: 2020-11-27T04:05:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-05T08:02:51.000Z (over 4 years ago)
- Last Synced: 2025-01-08T09:11:08.816Z (5 months ago)
- Topics: clean-architecture, go-grpc, go-grpc-example, golang-websocket-example, golang-websocket-server, python-grpc, websocket, websocket-example
- Language: Go
- Homepage:
- Size: 15.9 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```