Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "grpc-gateway-example",
Short: "Example client and server of gRPC and gRPC-gateway example",
Long: `To get started run the serve subcommand which will start a server
on localhost:10000:
grpc-gateway-example serve
Then you can hit it with the client:
grpc-gateway-example echo foo bar baz
Or over HTTP 1.1 with curl:
curl -X POST -k http://localhost:10000/v1/echo -d '{"value": "foo"}'
`,
}
This represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.