Files
resource-scraper/types/interface/interfaces.go
2026-01-18 01:07:51 +02:00

25 lines
590 B
Go

package _interface
import (
"git.kplus.net.ua/yevhen/resource-scraper/internal/mail"
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
)
type Rutracker interface {
GetTopic(topics []string) ([]model.ExternalSources, error)
}
type Prescene interface {
GetPage(pageNumbers []string) ([]model.ExternalSources, error)
}
type ShareTheBrutality interface {
GetMail(email string) ([]model.ExternalSources, *mail.EmailService)
}
type MetalArchiveInterface interface {
GetSearchResults(searchResults []model.ExternalSources) ([]model.ExternalSources, error)
}
type Info interface{}