service

package
v0.0.0-...-15a0c23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 3 Imported by: 0

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

Locator defines application services.

type TaskCreatorProvider

type TaskCreatorProvider interface {
	TaskCreator() task.Creator
}

TaskCreatorProvider is a service locator provider.

type TaskFinderProvider

type TaskFinderProvider interface {
	TaskFinder() task.Finder
}

TaskFinderProvider is a service locator provider.

type TaskFinisherProvider

type TaskFinisherProvider interface {
	TaskFinisher() task.Finisher
}

TaskFinisherProvider is a service locator provider.

type TaskUpdaterProvider

type TaskUpdaterProvider interface {
	TaskUpdater() task.Updater
}

TaskUpdaterProvider is a service locator provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL