command
module
Version:
v0.0.0-...-df15e3c
Opens a new window with list of versions in this module.
Published: Feb 4, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
fanout
A demo showing how to process incoming requests in parallel.
Useful to learn about:
- Concurrent execution (goroutines)
- Synchronization and messaging (channels)
- Multi-way concurrent control (
select
)
- Completing or canceling gracefully (
context.Context
)
Build and Run
$ go get github.com/ancientlore/fanout
$ fanout
Presentation
To run the presentation, use the present tool.
Install present:
$ go get golang.org/x/tools/cmd/present
Run the presentation:
$ present -notes -play
Navigate to http://127.0.0.1:3999/fanout.slide to see the presentation. Use the notes view by pressing N
to see presenter notes.
Good reading
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.