worker

command
v1.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL