grpc chat
1.0.0
Un serveur de chat / client simple implémenté avec GRPC dans GO. Construit avec ❤️ pour la rencontre du Gopher du comté d'Orange.
Ce projet est pour démontrer certaines des caractéristiques de GRPC dans GO et ne doit pas être utilisée dans la production.
L'installation nécessite la chaîne d'outils 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 " Un dockerfile est inclus dans ce projet et l'image est hébergée sur le 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 "