tasks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskService

type TaskService struct {
	// contains filtered or unexported fields
}

func NewTaskService

func NewTaskService(log *slog.Logger,
	repo repository.TaskRepoIface,
	statusRepo repository.StatusRepoIface,
	metrics *metrics.Metrics,
) *TaskService

func (*TaskService) GetLastDate

func (ts *TaskService) GetLastDate(ctx context.Context) (time.Time, error)

func (*TaskService) GetTaskTypes

func (ts *TaskService) GetTaskTypes(ctx context.Context, client *http.Client, destURL string) error

func (*TaskService) Start

func (ts *TaskService) Start(
	ctx context.Context,
	loginURL, baseURL, username, password string,
	interval time.Duration,
) error

Jump to

Keyboard shortcuts

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