grpcurl

grpcurl

info
namegrpcurl
full namegrpcurl
aliasesgrpcurl
tagsgrpc

gRPC를 테스트하기 위한 명령줄 도구 https://github.com/fullstorydev/grpcurl/releases

./grpcurl [flags] [address] [list|describe] [symbol]
 
# 도움말
grpcurl -help
 
# 서비스 목록 조회
grpcurl localhost:9090 list
 
# 특정 서비스 설명
grpcurl localhost:9090 describe greet.Greeter
 
# 메서드 호출 (JSON 요청)
grpcurl -d '{"name": "World"}' localhost:9090 greet.Greeter/SayHello
 
# plaintext (TLS 없이)
grpcurl -plaintext -d '{"message": "test"}' localhost:50051 example.Echo/UnaryEcho
 
# 파일에서 요청 읽기
grpcurl -d @ localhost:9090 MyService/Method < request.json
  • grpcurl [flags…] [address] [list|describe]
  • -d JSON 파라미터 overloads
  • -plaintext TLS 없이
  • -proto PATH reflection 없이 .proto 파일로 확인
  • list 서비스 목록 조회
  • describe 특정 서비스 설명
go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest
  • grpcurl.txt
  • 마지막으로 수정됨: 2026/02/17 11:18
  • 저자 writer