wings/api/routes.go

10 lines
238 B
Go
Raw Normal View History

package api
func (api *API) registerRoutes() {
api.router.GET("/", AuthHandler(""), handleGetIndex)
api.router.PATCH("/config", AuthHandler("c:config"), handlePatchConfig)
api.registerServerRoutes()
api.registerServerFileRoutes()
}