command
module
Version:
v0.0.0-...-f025684
Opens a new window with list of versions in this module.
Published: Oct 22, 2019
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
Netcat1 is a read-only TCP client.
Source Files
¶
Directories
¶
Clock is a TCP server that periodically writes the time.
|
Clock is a TCP server that periodically writes the time. |
|
|
|
Click to show internal directories.
Click to hide internal directories.