MCPcopy
hub / github.com/gin-gonic/gin / Routes

Function Routes

ginS/gins.go:129–131  ·  view source on GitHub ↗

Routes returns a slice of registered routes.

()

Source from the content-addressed store, hash-verified

127
128// Routes returns a slice of registered routes.
129func Routes() gin.RoutesInfo {
130 return engine().Routes()
131}
132
133// Run attaches to a http.Server and starts listening and serving HTTP requests.
134// It is a shortcut for http.ListenAndServe(addr, router)

Callers 1

TestRoutesFunction · 0.85

Calls 1

RoutesMethod · 0.80

Tested by 1

TestRoutesFunction · 0.68