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

Method Routes

router_concurrent.go:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (r *concurrentRouter) Routes() Routes {
29 r.mu.RLock()
30 defer r.mu.RUnlock()
31
32 return r.router.Routes().Clone()
33}
34
35func (r *concurrentRouter) Add(routable Route) (RouteInfo, error) {
36 r.mu.Lock()

Callers

nothing calls this directly

Calls 2

RoutesMethod · 0.65
CloneMethod · 0.45

Tested by

no test coverage detected