golf icon indicating copy to clipboard operation
golf copied to clipboard

Route path to another app.

Open dinever opened this issue 8 years ago • 1 comments

Router should have the ability to route a path to another app, so that there can be several apps in a single project.

Like this:

app = NewApp()
anotherApp = NewApp()
app.Route("/admin", anotherApp)

dinever avatar Feb 26 '16 14:02 dinever

or
app = newApp() another = app.Route("/foo") another.Get("/", func) another.Post("/", func)

leaxoy avatar Mar 04 '16 02:03 leaxoy