Documentation ¶
Index ¶
Constants ¶
View Source
const JobID = "lkdr"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type Config ¶
type Config struct { Database database.Config `yaml:"database" doc:"Настройки подключения к БД."` BatchSize int `` /* 202-byte string literal not displayed */ Timeout time.Duration `yaml:"timeout,omitempty" default:"5m" doc:"Таймаут для запросов."` Users map[string][]Credential `yaml:"users" doc:"Пользователи и их авторизационные данные."` }
type Credential ¶
type JobParams ¶
type JobParams struct { Config *Config `validate:"required"` Clock based.Clock `validate:"required"` Logger *slog.Logger `validate:"required"` ClientFactory ClientFactory CaptchaSolver captcha.TokenProvider }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.