server

command module
v0.0.0-...-f47a602 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: BSD-2-Clause Imports: 12 Imported by: 0

README

API Regression Detector server

Overview

Start GRPC server on port 50051 and GRPC gateway on port 80 by the following command:

make serve

The GRPC server serves a GRPC API of GreetingService having SayHello method.

The GRPC gateway, which translates HTTP and GRPC, behaves as REST API version of the GRPC API.

Example

make serve &

ENDPOINT=localhost

curl "${ENDPOINT}:80/say/hello/MyName" | jq

grpcurl -plaintext -d '{"name":"MyName"}' "${ENDPOINT}:50051" api.GreetingService/SayHello | jq

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
gen
proto/api
Package api is a reverse proxy.
Package api is a reverse proxy.

Jump to

Keyboard shortcuts

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