Documentation ¶
Overview ¶
Package service defines application services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTPPort int `envconfig:"HTTP_PORT" default:"8010"` TaskCleanupInterval time.Duration `envconfig:"TASK_CLEANUP_INTERVAL" default:"30s"` }
Config defines application settings.
type Locator ¶
type Locator struct { graceful.Shutdown TaskCreatorProvider TaskUpdaterProvider TaskFinderProvider TaskFinisherProvider }
Locator defines application services.
type TaskCreatorProvider ¶
TaskCreatorProvider is a service locator provider.
type TaskFinderProvider ¶
TaskFinderProvider is a service locator provider.
type TaskFinisherProvider ¶
TaskFinisherProvider is a service locator provider.
type TaskUpdaterProvider ¶
TaskUpdaterProvider is a service locator provider.
Click to show internal directories.
Click to hide internal directories.