Documentation
¶
Overview ¶
Package compose is the cmd-owned wire composition root for FactoryService. Regenerate wire_gen.go with: go generate ./cmd/factory/compose/...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectFactoryService ¶
func InjectFactoryService(ctx context.Context, cfg *service.FactoryServiceConfig) (*service.FactoryService, error)
InjectFactoryService is the wireinject entry for the factory composition root.
func ServeAPIServer ¶
func ServeAPIServer( ctx context.Context, runtime apisurface.APISurface, port int, logger *zap.Logger, listener net.Listener, ) error
ServeAPIServer starts the factory HTTP API on listener using api.NewServer with the wired FactoryService (or any apisurface.APISurface implementation).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.