Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(startCallback StartFunc)
Start sets up the main application context, the slog.Logger, an errgroup.Group, and Open Telemetry tracing, and calls the given callback. The callback function should start up all necessary components of the app using the error group, and not block on anything itself in the main goroutine.
Types ¶
type Goer ¶
type Goer interface {
Go(func() error)
}
Goer is just the executing part of errgroup.Group.
Click to show internal directories.
Click to hide internal directories.