예제 #1
0
파일: domains.go 프로젝트: grunya404/dns
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/domain").Subrouter()
	util.SetupRouter(subRouter, "Domain", routes)
}
예제 #2
0
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/notifications").Subrouter()
	util.SetupRouter(subRouter, "Notifications", routes)
}
예제 #3
0
파일: links.go 프로젝트: jawr/wall
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/links").Subrouter()
	util.SetupRouter(subRouter, "Link", routes)
}
예제 #4
0
파일: auth.go 프로젝트: jawr/wall
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/auth").Subrouter()
	utils.SetupRouter(subRouter, "Auth", routes)
}
예제 #5
0
파일: watchers.go 프로젝트: grunya404/dns
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/watchers").Subrouter()
	util.SetupRouter(subRouter, "Watchers", routes)
}
예제 #6
0
파일: records.go 프로젝트: grunya404/dns
func Setup(router *mux.Router) {
	subRouter := router.PathPrefix("/records").Subrouter()
	util.SetupRouter(subRouter, "Records", routes)
	util.SetupRouter(router, "RecordsOverload", overloadRoutes)
}