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

Method updateRouteTrees

gin.go:517–521  ·  view source on GitHub ↗

updateRouteTrees do update to the route trees

()

Source from the content-addressed store, hash-verified

515
516// updateRouteTrees do update to the route trees
517func (engine *Engine) updateRouteTrees() {
518 for _, tree := range engine.trees {
519 updateRouteTree(tree.root)
520 }
521}
522
523// parseIP parse a string representation of an IP and returns a net.IP with the
524// minimum byte representation or nil if input is invalid.

Callers 4

RunMethod · 0.95
ServeHTTPMethod · 0.95
TestEscapedColonFunction · 0.80
TestLiteralColonWithRunFunction · 0.80

Calls 1

updateRouteTreeFunction · 0.85

Tested by 2

TestEscapedColonFunction · 0.64
TestLiteralColonWithRunFunction · 0.64