Add single_file format implementation

This commit is contained in:
2023-04-02 16:12:57 +03:00
parent 23db2402c4
commit 1807564f26
4 changed files with 233 additions and 4 deletions

View File

@@ -53,8 +53,9 @@ func NewProcessors(cfg config.Config) (*Processors, error) {
procs := Processors{
processors: map[entity.Format]processor{
entity.FormatHeaders: NewHeaders(httpClient),
entity.FormatPDF: NewPDF(cfg.PDF),
entity.FormatHeaders: NewHeaders(httpClient),
entity.FormatPDF: NewPDF(cfg.PDF),
entity.FormatSingleFile: NewSingleFile(httpClient),
},
}