https://github.com/aleitner/grpc-file-transfer
transfer file via grpc
https://github.com/aleitner/grpc-file-transfer
file file-transfer file-upload file-upload-server grpc grpc-go
Last synced: 5 months ago
JSON representation
transfer file via grpc
- Host: GitHub
- URL: https://github.com/aleitner/grpc-file-transfer
- Owner: aleitner
- Created: 2021-06-28T14:54:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T15:18:07.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T07:35:15.236Z (over 1 year ago)
- Topics: file, file-transfer, file-upload, file-upload-server, grpc, grpc-go
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File transfer via GRPC Proof of Concept
## Build
### protocol buffers
You can build protocol buffer files using the command
```shell
build\proto-gen.bat
```
## Run
### Server
```shell
go run .\cmd\server\main.go start -path="C:\Desktop"
```
### Client
```shell
go run .\cmd\client\main.go upload -path="C:\Desktop\file.txt"
```
## Dependencies
### Protoc
Download the latest protoc here https://github.com/protocolbuffers/protobuf/releases/
Copy the binary file into your $GOPATH/bin. You can find your $GOPATH using `go env`