part03

command
v0.0.0-...-3215db2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

This program listens on the host and port specified by the -listen flag. For each incoming connection, it launches a goroutine that reads and decodes JSON-encoded messages from the connection and prints them to standard output.

You can test this program by running it in one terminal:

$ part3 -listen=localhost:8000

And running part2 in another terminal:

$ part2 -dial=localhost:8000

Lines typed in the second terminal should appear as JSON objects in the first terminal.

Jump to

Keyboard shortcuts

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