MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Close

Method Close

imgproxy.go:224–227  ·  view source on GitHub ↗

Close gracefully shuts down the imgproxy instance

(ctx context.Context)

Source from the content-addressed store, hash-verified

222
223// Close gracefully shuts down the imgproxy instance
224func (i *Imgproxy) Close(ctx context.Context) {
225 i.monitoring.Stop(ctx)
226 i.errorReporter.Close()
227}
228
229func (i *Imgproxy) Fetcher() *fetcher.Fetcher {
230 return i.fetcher

Callers

nothing calls this directly

Calls 2

StopMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected