Skip to content
Semior001Public

About

small utility to download files through grpc

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

grpcwget Go codecov go report card Go Reference

Small utility to download files through grpc. Currently, only files received via google.api.HttpBody are supported.

install

go install github.com/Semior001/grpcwget@v0.1.1 or via downloading the binary in the releases.

options

Application Options:
  -p, --protoset= location to pb file
  -H, --header=   headers to add to request
  -d, --body=     body of GRPC request
  -a, --addr=     address to GRPC server
  -m, --method=   full path to method
  -o, --output=   location to output file, current dir by default (default: .)
      --timeout=  request timeout
      --dbg       turn on debug mode

example

grpcwget -p api.pb -a localhost:9000 \
      -m semior.some.package.v1.Service/DownloadFile \
      -d '{"someparam": "someval"}' \
      -o some_response.pdf

About

small utility to download files through grpc

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址