Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Initializer ¶
type Initializer struct {
// contains filtered or unexported fields
}
Initializer holds all components that need to be started and stopped.
func NewInitializer ¶
func NewInitializer( httpServer *server.HTTPServer, dbPool *pgxpool.Pool, ) *Initializer
NewInitializer creates a new initializer with all required components.
func (*Initializer) Run ¶
func (i *Initializer) Run() error
Run starts all services and waits for shutdown signal.
Click to show internal directories.
Click to hide internal directories.