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

23 lines
324 B
Go

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