interfaces

package
v0.0.0-...-0e50a25 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IProviderService

type IProviderService interface {
	AddProvider(ctx context.Context, provider *entity.Provider) error
	UpdateProvider(ctx context.Context, provider *entity.Provider) error
	GetProviders(ctx context.Context) ([]entity.Provider, error)
	GetProviderByUrl(ctx context.Context, url string) (*entity.Provider, error)
	DeleteProviders(ctx context.Context, name string) error
	GetProviderWithTasks(ctx context.Context, id string) (*entity.Provider, error)
}

type ITaskService

type ITaskService interface {
	AddTask(ctx context.Context, task *valueobject.Task) error
	GetTasks(ctx context.Context) ([]valueobject.Task, error)
}

Jump to

Keyboard shortcuts

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