WithProcessors with processor option
(processors ...Processor)
| 54 | |
| 55 | // WithProcessors with processor option |
| 56 | func WithProcessors(processors ...Processor) Option { |
| 57 | return func(app *Imagor) { |
| 58 | app.Processors = append(app.Processors, processors...) |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | // WithRequestTimeout with request timeout option |
| 63 | func WithRequestTimeout(timeout time.Duration) Option { |
no outgoing calls