ping

command
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2016 License: MIT, MIT Imports: 5 Imported by: 0

README

Ping-Pong

./build/examples/ping/pong

This example creates a client and server channel. The server channel registers a PingService with a ping method, which takes request Headers and a Ping body and returns the same Headers along with a Pong body. The client sends a ping request to the server.

Note that every instance is bidirectional, so the same channel can be used for both sending and receiving requests to peers. New connections are initiated on demand.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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