scraper sdk
This commit is contained in:
@@ -21,8 +21,11 @@ type Config struct {
|
||||
}
|
||||
|
||||
type ScraperConfig struct {
|
||||
BaseURL string `env:"SCRAPER_BASE_URL"`
|
||||
Timeout time.Duration `env:"SCRAPER_TIMEOUT"`
|
||||
BaseURL string `env:"SCRAPER_BASE_URL"`
|
||||
Timeout time.Duration `env:"SCRAPER_TIMEOUT"`
|
||||
Username string `env:"SCRAPER_USERNAME"`
|
||||
Password string `env:"SCRAPER_PASSWORD"`
|
||||
LoginURL string `env:"SCRAPER_LOGIN_URL"`
|
||||
}
|
||||
|
||||
type AuthConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user