Directories
¶
| Path | Synopsis |
|---|---|
|
Package config loads layered JSON configuration and defines the contract a configuration type implements to take part in that load.
|
Package config loads layered JSON configuration and defines the contract a configuration type implements to take part in that load. |
|
Package event defines the CloudEvents 1.0 envelope and the types a domain uses to raise its events.
|
Package event defines the CloudEvents 1.0 envelope and the types a domain uses to raise its events. |
|
Package graph is a typed dependency graph.
|
Package graph is a typed dependency graph. |
|
Package lifecycle runs a built graph.System: process startup, readiness, and graceful shutdown.
|
Package lifecycle runs a built graph.System: process startup, readiness, and graceful shutdown. |
|
Package logging constructs the *slog.Logger a process writes through, from a configuration that takes part in the layered load.
|
Package logging constructs the *slog.Logger a process writes through, from a configuration that takes part in the layered load. |
|
Package process holds the parts of a binary's main sequence that run before the program's own infrastructure exists: reporting a failure or a usage error when there is no logger yet, the signal-derived root context, and the exit-code convention the reporters return.
|
Package process holds the parts of a binary's main sequence that run before the program's own infrastructure exists: reporting a failure or a usage error when there is no logger yet, the signal-derived root context, and the exit-code convention the reporters return. |
|
processtest
Package processtest is the integration toolkit for a program built on the process package.
|
Package processtest is the integration toolkit for a program built on the process package. |
|
processtest/internal/testprog
command
Command testprog is the program the processtest package's own tests run: it answers on a loopback address, waits for the interrupt, and exits with the code its environment names, so the runner is proved against a real subprocess without a service behind it.
|
Command testprog is the program the processtest package's own tests run: it answers on a loopback address, waits for the interrupt, and exits with the code its environment names, so the runner is proved against a real subprocess without a service behind it. |
|
Package reactor joins one source of occurrences to one function for the process lifetime.
|
Package reactor joins one source of occurrences to one function for the process lifetime. |
Click to show internal directories.
Click to hide internal directories.