rpc

command
Version: v0.0.0-...-6c0bb26 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 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.

Source Files

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL