Directories ¶
Path | Synopsis |
---|---|
skeleton
|
|
part1
This program reads from standard input and writes JSON-encoded messages to standard output.
|
This program reads from standard input and writes JSON-encoded messages to standard output. |
part10
This program extends part 9.
|
This program extends part 9. |
part2
This program extends part 1.
|
This program extends part 1. |
part3
This program listens on the host and port specified by the -listen flag.
|
This program listens on the host and port specified by the -listen flag. |
part4
This program is a combination of parts 2 and 3.
|
This program is a combination of parts 2 and 3. |
part5
This program extends part 4.
|
This program extends part 4. |
part6
This program is functionally equivalent to part 5, but the reading from standard input and writing to the network connection are done by separate goroutines.
|
This program is functionally equivalent to part 5, but the reading from standard input and writing to the network connection are done by separate goroutines. |
part7
This program extends part 6 by adding a Peers type.
|
This program extends part 6 by adding a Peers type. |
part8
This program extends part 7.
|
This program extends part 7. |
part9
This program extends part 8.
|
This program extends part 8. |
solution
|
|
part01
This program reads from standard input and writes JSON-encoded messages to standard output.
|
This program reads from standard input and writes JSON-encoded messages to standard output. |
part02
This program extends part 1.
|
This program extends part 1. |
part03
This program listens on the host and port specified by the -listen flag.
|
This program listens on the host and port specified by the -listen flag. |
part04
This program is a combination of parts 2 and 3.
|
This program is a combination of parts 2 and 3. |
part05
This program extends part 4.
|
This program extends part 4. |
part06
This program is functionally equivalent to part 5, but the reading from standard input and writing to the network connection are done by separate goroutines.
|
This program is functionally equivalent to part 5, but the reading from standard input and writing to the network connection are done by separate goroutines. |
part07
This program extends part 6 by adding a Peers type.
|
This program extends part 6 by adding a Peers type. |
part08
This program extends part 7.
|
This program extends part 7. |
part09
This program extends part 8.
|
This program extends part 8. |
part10
This program extends part 9.
|
This program extends part 9. |
Click to show internal directories.
Click to hide internal directories.