Documentation
¶
Overview ¶
Command worker is the phase 1 acceptance app: modules, a dynamic global module, interface binding, a provider group, lifecycle hooks and graceful shutdown, with no HTTP.
go run ./examples/worker
Press Ctrl+C to see the shutdown hooks run.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package config is a dynamic, global module: ForRoot returns a new module configured for the caller.
|
Package config is a dynamic, global module: ForRoot returns a new module configured for the caller. |
|
Package report runs a background loop over every reporter in the application, collected through a provider group.
|
Package report runs a background loop over every reporter in the application, collected through a provider group. |
|
Package store is a fake database with connection lifecycle hooks.
|
Package store is a fake database with connection lifecycle hooks. |
|
Package users shows interface binding with dygo.As and a module that imports another module.
|
Package users shows interface binding with dygo.As and a module that imports another module. |
Click to show internal directories.
Click to hide internal directories.