2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00
Files
panel/internal/apps/percona/app.go
2026-01-04 03:31:34 +08:00

24 lines
398 B
Go

package percona
import (
"github.com/go-chi/chi/v5"
"github.com/leonelquinteros/gotext"
"github.com/acepanel/panel/internal/apps/mysql"
"github.com/acepanel/panel/internal/biz"
)
type App struct {
mysql *mysql.App
}
func NewApp(t *gotext.Locale, setting biz.SettingRepo) *App {
return &App{
mysql: mysql.NewApp(t, setting),
}
}
func (s *App) Route(r chi.Router) {
s.mysql.Route(r)
}