/go-file-server-mq

Classic the Master-Slave pattern

Primary LanguageGoApache License 2.0Apache-2.0

Go Report Card

File Server with MQ

How to install docker

  1. Install Docker-CE (ubuntu);
  2. Install Docker compose;
  3. sudo docker-compose up.

How to use proto files

About gRPC. After install protoc and install plugin for go. Don't forget add ~/go/bin to your PATH, just like this for example: in ~/.profile in your home directory add this to end of file:

if [ -d "$HOME/go/bin" ] ; then
  PATH="$PATH:$HOME/go/bin"
fi

And find it: echo $PATH

How to generate *.proto to *.go In folder where *.proto input it in terminal: protoc --go_out=. file_name.proto