grpc-fixture

command
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 6 Imported by: 0

README

grpc-fixture

grpc-fixture intercepts all client messages and replays previously recorded server responses.

This is great for:

  • Easily running tests using your real client code but with mocked server responses.
  • Reproducing client bugs deterministically and without having to make actual requests to servers.
  • Giving demos without internet connection and that you know will work the same every time.

Command line usage

Usage of grpc-fixture:
  -cert string
    	Certificate file to use for serving using TLS.
  -dump string
    	gRPC dump to serve requests from.
  -key string
    	Key file to use for serving using TLS.
  -port int
    	Port to listen on.
  -system_proxy
    	Automatically configure system to use this as the proxy for all connections.

Troubleshooting

For troubleshooting see the generic grpc-proxy troubleshooting steps here.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL