MCPcopy
hub / github.com/gofiber/fiber / testSimpleHandler

Function testSimpleHandler

hooks_test.go:21–23  ·  view source on GitHub ↗
(c Ctx)

Source from the content-addressed store, hash-verified

19const testMountPath = "/api"
20
21func testSimpleHandler(c Ctx) error {
22 return c.SendString("simple")
23}
24
25func Test_Hook_OnRoute(t *testing.T) {
26 t.Parallel()

Callers

nothing calls this directly

Calls 1

SendStringMethod · 0.65

Tested by

no test coverage detected