Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentFetcher ¶
type ContentFetcher struct {
// contains filtered or unexported fields
}
ContentFetcher is responsible for fetching URL content with persona and proxy support.
func NewContentFetcher ¶
func NewContentFetcher(appCfg *config.AppConfig, proxyMgr *proxymanager.ProxyManager) *ContentFetcher
func (*ContentFetcher) FetchUsingPersonas ¶
func (cf *ContentFetcher) FetchUsingPersonas( ctx context.Context, urlStr string, httpModelPersona *models.Persona, dnsModelPersona *models.Persona, modelProxy *models.Proxy, ) (body []byte, finalURL string, statusCode int, httpPersonaIDUsed *uuid.UUID, dnsPersonaIDUsed *uuid.UUID, proxyIDUsed *uuid.UUID, err error)
Click to show internal directories.
Click to hide internal directories.