NewFactory creates a new factory
(fetcher *fetcher.Fetcher, monitoring *monitoring.Monitoring)
| 33 | |
| 34 | // NewFactory creates a new factory |
| 35 | func NewFactory(fetcher *fetcher.Fetcher, monitoring *monitoring.Monitoring) *Factory { |
| 36 | return &Factory{ |
| 37 | fetcher: fetcher, |
| 38 | monitoring: monitoring, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // NewFromBytesWithFormat creates a new ImageData instance from the provided format |
| 43 | // and byte slice. |
no outgoing calls