Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRouter ¶
func BuildRouter(c *frameworkbootstrap.Container, modules RouterModules) error
BuildRouter is the canonical GoShip router entrypoint.
func RegisterSchedules ¶
func RegisterSchedules(s *cron.Cron, jobsProvider JobsProvider)
RegisterSchedules wires periodic schedules that enqueue background jobs.
Types ¶
type Container ¶
type Container = frameworkbootstrap.Container
func NewContainer ¶
func NewContainer() *Container
NewContainer builds the canonical GoShip runtime container.
type JobsProvider ¶
type RouterModules ¶
type RouterModules struct {
PaidSubscriptions *paidsubscriptions.Service
Notifications *notifications.Services
}
Click to show internal directories.
Click to hide internal directories.