(method, path string, handler HttpHandle)
| 126 | } |
| 127 | |
| 128 | func (g *xGroup) RegisterRoute(method, path string, handler HttpHandle) RouterNode { |
| 129 | return g.add(method, path, handler) |
| 130 | } |
| 131 | |
| 132 | func (g *xGroup) add(method, path string, handler HttpHandle) RouterNode { |
| 133 | node := g.server.Router().RegisterRoute(method, g.prefix+path, handler) |