MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithCloseNotify

Function WithCloseNotify

net/mw/middleware.go:129–151  ·  view source on GitHub ↗

WithCloseNotify returns a net.Handler cancelling the context when the client connection close unexpectedly. Supported options are: SetLogger().

(opts ...Option)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

newOptionBoxFunction · 0.85
ServeHTTPMethod · 0.80
ContextMethod · 0.45
CloseNotifyMethod · 0.45
DebugMethod · 0.45
BoolMethod · 0.45

Tested by

no test coverage detected