grpc chat
1.0.0
Um servidor/cliente de bate -papo simples implementado com o GRPC no GO. Construído com ❤️ para o encontro de Gopher do Condado de Orange.
Este projeto é para demonstrar alguns dos recursos do GRPC em Go e não deve ser usado na produção.
A instalação requer a cadeia de ferramentas Go.
go install github.com/rodaine/grpc-chat$ grpc-chat --help
Usage of grpc-chat:
-h string
the chat server ' s host (default "0.0.0.0:6262")
-n string
the username for the client
-p string
the chat server ' s password
-s run as the server
-v enable debug logginggrpc-chat -s -p " super-secret "grpc-chat -h " chat.example.com:6262 " -p " super-secret " -n " Rodaine " Um DockerFile está incluído neste projeto e a imagem está hospedada no Docker Hub.
docker run --rm
-p 6262:6262
rodaine/grpc-chat
-s -p " super-secret "docker run --rm -i
rodaine/grpc-chat
-h " chat.example.com "
-p " super-secret "
-n " Rodaine "