获取组件
go get -u google.golang.org/grpc
生成 pb 文件
protoc --proto_path=./protos ./protos/*.proto --go_out=plugins=grpc:./pb
客户端使用的证书需与服务端一致