mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 03:22:32 +08:00
19 lines
306 B
Go
19 lines
306 B
Go
package benchmark
|
|
|
|
import (
|
|
"github.com/go-chi/chi/v5"
|
|
|
|
"github.com/TheTNB/panel/pkg/apploader"
|
|
"github.com/TheTNB/panel/pkg/types"
|
|
)
|
|
|
|
func init() {
|
|
apploader.Register(&types.App{
|
|
Slug: "benchmark",
|
|
Route: func(r chi.Router) {
|
|
service := NewService()
|
|
r.Post("/test", service.Test)
|
|
},
|
|
})
|
|
}
|