grpc chat
1.0.0
GRPC와 함께 구현 된 간단한 채팅 서버/클라이언트. Orange County Gopher 's Meetup을 위해 ❤️로 제작되었습니다.
이 프로젝트는 GO에서 GRPC의 일부 기능을 시연하기위한 것이며 생산에 사용해서는 안됩니다.
설치하려면 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 " Dockerfile 은이 프로젝트에 포함되어 있으며 이미지는 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 "