rpc

command
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: BSD-3-Clause Imports: 21 Imported by: 0

README

RPC Web Service

This is a sample of a "modern" RPC web service that implements the Hello service. The IdP service is required to be running and accessible.

Running

See the parent README.MD for instructions to run the example services together.

Endpoints

This example implements a RPC API using the Go standard library rpc package. The specification below is expressed in terms of gRPC:

package idp;

message Message {
    string RequestID = 1;
    string UserID = 2;
    string Language = 3;
    string Name = 4;
}

service Idp {
    rpc Greeting(Message) returns (string);
    rpc Healthcheck(string) returns (bool);
}

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