clock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 0 Imported by: 0

README

Clock Service

The Clock Service is a sample service that can be used as a template for new services.

It exposes two gRPC APIs:

  • clock-local that returns the current time
  • clock-remote that connects to a remote node to ask its current time

Documentation

Overview

Package clock is a simple application that sends the local time to a peer every time it receives a byte from that peer.

It is meant to illustrate how to create network applications.

Directories

Path Synopsis
Package protocol defines types for the clock protocol.
Package protocol defines types for the clock protocol.
Package service defines types for the clock service.
Package service defines types for the clock service.

Jump to

Keyboard shortcuts

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