rpc

command
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

rpc

  • example using the experimental gizmo/server.RPCService and gizmo/server.RPCServer.
  • one endpoint will serve the most popular NYT articles and another will serve a listing recent articles in The New York Times about 'cats'.
  • this service will expose both the 'most popular' and 'cats' endpoints via gRPC and simple JSON using two separate ports.

The config in this example is loaded via a local JSON file and a custom config struct that is composed of a gizmo/config.Server struct.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package service is a generated protocol buffer package.
Package service is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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