MCPcopy
hub / github.com/cshum/imagor / WithProcessors

Function WithProcessors

option.go:56–60  ·  view source on GitHub ↗

WithProcessors with processor option

(processors ...Processor)

Source from the content-addressed store, hash-verified

54
55// WithProcessors with processor option
56func 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
63func WithRequestTimeout(timeout time.Duration) Option {

Callers 15

TestProcessorFunction · 0.92
doGoldenTestsFunction · 0.92
TestServer_RunFunction · 0.92
TestServerStartupFunction · 0.92
TestServerShutdownFunction · 0.92
TestServerListenAndServeFunction · 0.92
TestServerOptionsFunction · 0.92
TestServerWithMetricsFunction · 0.92
TestPanicHandlerFunction · 0.92
mainFunction · 0.92
WithVipsFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestProcessorFunction · 0.74
doGoldenTestsFunction · 0.74
TestServer_RunFunction · 0.74
TestServerStartupFunction · 0.74
TestServerShutdownFunction · 0.74
TestServerListenAndServeFunction · 0.74
TestServerOptionsFunction · 0.74
TestServerWithMetricsFunction · 0.74
TestPanicHandlerFunction · 0.74
TestWithInternalFunction · 0.68