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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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