refactor(backend): rename OpenFlare directory to lowercase openflare

This commit is contained in:
ryan
2026-08-30 17:43:23 +08:00
parent 06d5fedbfc
commit c93ff6674f
543 changed files with 819 additions and 819 deletions
@@ -0,0 +1,19 @@
// Copyright 2026 Arctel.net
// SPDX-License-Identifier: Apache-2.0
package httpapi
import (
"Wavelet/core"
"Wavelet/core/contracts"
"Wavelet/openflare/plugins/server/domain/dashboard"
"Wavelet/openflare/plugins/server/kernel/apiutil"
)
func registerDashboardRoutes(apiGroup core.RouterExtension, auth contracts.AuthService) {
dashboardRoute := apiGroup.Group("/dashboard")
dashboardRoute.Use(apiutil.AdminMiddlewares(auth)...)
{
dashboardRoute.GET("/overview", dashboard.GetOverviewHandler)
}
}