Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Service ¶
type Service interface { GetLinksForRender() ([]string, error) GetUrlsFromSitemaps() ([]string, error) GetUrlsFromLinksList() ([]string, error) PreparePages(links []string) ([]*models.PageData, error) GetPageBody(ctx context.Context, p *models.PageData) error RenderPages(pages []*models.PageData, maxWorkers int) error RenderPage(ctx context.Context, page *models.PageData, num int) error PrepareRenderReport(pages []*models.PageData, d time.Duration, procs int) // contains filtered or unexported methods }
func NewService ¶
func NewService(r Repository, prerenderConfig cfg.PrerenderConfig, storageConfig cfg.StorageConfig) Service
Click to show internal directories.
Click to hide internal directories.