golang 학습과 이를 응용한 gRPC 학습
Windows 11 환경에서 학습
os는 상관없다
go 설치 - https://go.dev/doc/install
protocol buffer compiler 설치 - https://grpc.io/docs/protoc-installation/
grpc-web 정리글 - https://velog.io/@kyusung/grpc-web-example
2023년 기준으로 golang과 Protocol Buffer는 꾸준히 기능이 업데이트 되고 있기에 시간이 지날수록 새로운 기능이나 기존의 기능이 없어지는 경우가 많다. 정보를 정확히 알수있는 곳은 공식 문서를 보는 것이다. 따라서 url을 따라가서 학습하자.
여기서는 golang을 이용하며 다른 언어별 가이드는 공식홈페이지에서 확인 가능하다.
golang - https://go.dev/doc/
Protocol Buffer - https://protobuf.dev/
grpc - https://grpc.io/docs/what-is-grpc/ , https://grpc.io/docs/languages/go/
https://github.com/grpc/grpc-go
$ go get -u google.golang.org/grpc
route_guide
디렉터리는 grpc 공식 홈페이지에서 제공하는 go언어 기반 예제이다. 이에 대한 설명을 md파일로 정리하였다.
PS> cd my_first_aes/pb
PS> protoc --proto_path=.\ --go_out=.\ --go-grpc_out=.\ .\practice_crypto.proto