Exemplo n.º 1
0
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/domain").Subrouter()
	util.SetupRouter(subRouter, "Domain", routes)
}
Exemplo n.º 2
0
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/notifications").Subrouter()
	util.SetupRouter(subRouter, "Notifications", routes)
}
Exemplo n.º 3
0
Arquivo: links.go Projeto: jawr/wall
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/links").Subrouter()
	util.SetupRouter(subRouter, "Link", routes)
}
Exemplo n.º 4
0
Arquivo: auth.go Projeto: jawr/wall
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/auth").Subrouter()
	utils.SetupRouter(subRouter, "Auth", routes)
}
Exemplo n.º 5
0
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/watchers").Subrouter()
	util.SetupRouter(subRouter, "Watchers", routes)
}
Exemplo n.º 6
0
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/records").Subrouter()
	util.SetupRouter(subRouter, "Records", routes)
	util.SetupRouter(router, "RecordsOverload", overloadRoutes)
}