Documentation
¶
Overview ¶
Package cmd wires up the service's CLI commands.
This package is responsible for registering the commands exposed by the `web` binary and connecting them to the dependency-injection graph used to construct and run the server.
Public API ¶
The public surface of this package is intended to be small and stable:
- RegisterServer registers the "server" command on a provided CLI commander.
- Module is the DI module that assembles all dependencies required to run the server command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module wires this package into the dependency graph.
Functions ¶
func RegisterServer ¶
RegisterServer registers the service's "server" command on the provided CLI commander.
The registered command starts the web server using the dependency-injection graph defined by `Module` in this package.
This function is intended to be called by the `main` package during application initialization.
Types ¶
This section is empty.