Directories
¶
Path | Synopsis |
---|---|
ch08ex01
|
|
clock
Clock is a TCP server that periodically writes the time.
|
Clock is a TCP server that periodically writes the time. |
clockwall
Clockwall is a client of multiple clock servers at once; it reads the time from each one and displays the results in a table.
|
Clockwall is a client of multiple clock servers at once; it reads the time from each one and displays the results in a table. |
Ch08ex02 is a minimal implementation of a concurrent FTP server.
|
Ch08ex02 is a minimal implementation of a concurrent FTP server. |
Ch08ex03 is a simple netcat that closes read and write halves of its TCP connection separately.
|
Ch08ex03 is a simple netcat that closes read and write halves of its TCP connection separately. |
reverb1
Reverb1 is a TCP server that simulates an echo.
|
Reverb1 is a TCP server that simulates an echo. |
Ch08ex04 is a TCP server that simulates an echo, using a sync.WaitGroup per connection to let echo goroutines finish cleanly.
|
Ch08ex04 is a TCP server that simulates an echo, using a sync.WaitGroup per connection to let echo goroutines finish cleanly. |
Ch08ex05 is a concurrent version of the Mandelbrot program from Chapter 3.3.
|
Ch08ex05 is a concurrent version of the Mandelbrot program from Chapter 3.3. |
Ch08ex06 is a concurrent crawler with depth-limiting.
|
Ch08ex06 is a concurrent crawler with depth-limiting. |
Ch08ex07 makes local copies of the pages it crawls concurrently, creating directories as necessary, except for pages from different domains.
|
Ch08ex07 makes local copies of the pages it crawls concurrently, creating directories as necessary, except for pages from different domains. |
links
Package links provides functions to fetch pages via GET requests and extract links from them.
|
Package links provides functions to fetch pages via GET requests and extract links from them. |
Ch08ex08 is a reverb server that disconnects any client that doesn't shout anything for 10 seconds.
|
Ch08ex08 is a reverb server that disconnects any client that doesn't shout anything for 10 seconds. |
Ch08ex09 computes the disk usage of the files in directory trees.
|
Ch08ex09 computes the disk usage of the files in directory trees. |
Ch08ex10 is a concurrent web crawler that supports cancellation.
|
Ch08ex10 is a concurrent web crawler that supports cancellation. |
Ch08ex11 fetches multiple URLs in parallel and cancels all other requests when the first one has finished.
|
Ch08ex11 fetches multiple URLs in parallel and cancels all other requests when the first one has finished. |
Ch08ex12 is the chat program from Chapter 8.10, announcing the current clients to new arrivals.
|
Ch08ex12 is the chat program from Chapter 8.10, announcing the current clients to new arrivals. |
Ch08ex13 is the chat server from Chapter 8 Section 10: it disconnects idle clients (10 seconds timeout, adjustable with -timeout SECONDS flag).
|
Ch08ex13 is the chat server from Chapter 8 Section 10: it disconnects idle clients (10 seconds timeout, adjustable with -timeout SECONDS flag). |
Ch08ex14 is the chat server from Chaper 8 Section 10, using names for clients instead of IP addresses.
|
Ch08ex14 is the chat server from Chaper 8 Section 10, using names for clients instead of IP addresses. |
Ch08ex15 is the chat server from Chaper 8 Section 10, skipping clients if they aren't ready to receive a message.
|
Ch08ex15 is the chat server from Chaper 8 Section 10, skipping clients if they aren't ready to receive a message. |
Click to show internal directories.
Click to hide internal directories.