clockwall

command module
v0.0.0-...-f025684 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 10 Imported by: 0

README

clockwall

GOPL, exercise 8.1.

It has three packages:

  • timezone, whose only purpose is to validate timezones according to the IANA database (taken usually from /usr/share/timezone in *nix systems).
  • clock, creates a fake clock server.
  • main.go (clockwall itself), a client that reads from multiple servers concurrently.

Run

Assuming you have Go installed, init.sh will:

  • Build the clock package into a binary called clok.
  • Build the main.go into a binary called clockwall
  • Setup some time servers by calling clok multiple times
  • Run clockwall, reading time for each of the time servers and displaying them in a table.

Documentation

Overview

Netcat1 is a read-only TCP client.

Directories

Path Synopsis
Clock is a TCP server that periodically writes the time.
Clock is a TCP server that periodically writes the time.

Jump to

Keyboard shortcuts

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