usecase

package
v0.0.0-...-b66bdfa Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type History

type History interface {
	List(ctx context.Context, params repository.HistoryListParams) ([]*entity.History, error)
}

func NewHistory

func NewHistory(cfg *config.Config, repo repository.History) History

type Image

type Image interface {
	Publish(ctx context.Context, r io.Reader, extension string) (*entity.History, error)
	Download(ctx context.Context, jobID uuid.UUID) (r io.ReadCloser, ext string, err error)
}

func NewImage

func NewImage(cfg *config.Config, publisher service.Publisher, storage service.Storage, repo repository.History) Image

Jump to

Keyboard shortcuts

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