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