MCPcopy
hub / github.com/labstack/echo / After

Method After

response.go:41–43  ·  view source on GitHub ↗

After registers a function which is called just after the response is written.

(fn func())

Source from the content-addressed store, hash-verified

39
40// After registers a function which is called just after the response is written.
41func (r *Response) After(fn func()) {
42 r.afterFuncs = append(r.afterFuncs, fn)
43}
44
45// WriteHeader sends an HTTP response header with status code. If WriteHeader is
46// not called explicitly, the first call to Write will trigger an implicit

Callers 2

TestResponseFunction · 0.95
TestEcho_StartFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestResponseFunction · 0.76
TestEcho_StartFunction · 0.64