MCPcopy Create free account
hub / github.com/mpolden/echoip / route

Struct route

http/router.go:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12type route struct {
13 method string
14 path string
15 prefix bool
16 handler appHandler
17 matcherFunc func(*http.Request) bool
18}
19
20func NewRouter() *router {
21 return &router{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected