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