services

package
v0.0.0-...-dbebb78 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBlobStorageService

type IBlobStorageService interface {
	Init() error
	Save(localFilePath string) (string, error)
	Fetch(storedPath string) (*minio.Object, error)
	FetchUrl(storedPath string) (string, error)
	Delete(storedPath string) error
}

func NewMinioService

func NewMinioService(cfg *config.AppCfg, logger log.IAppLogger) (IBlobStorageService, error)

type IHeadlessBrowser

type IHeadlessBrowser interface {
	TakeScreenshot(url string) (string, error)
}

func NewHeadlessBrowserService

func NewHeadlessBrowserService(cfg *config.AppCfg, logger log.IAppLogger) (IHeadlessBrowser, error)

type IQueueService

type IQueueService interface {
	EnqueueTakeScreenshot(screenshotID uuid.UUID) error
}

func NewQueueService

func NewQueueService(cfg *config.AppCfg, logger log.IAppLogger) (IQueueService, error)

Jump to

Keyboard shortcuts

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