mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
17 lines
231 B
Go
17 lines
231 B
Go
package handlers
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
type rootHandler struct {
|
|
}
|
|
|
|
func (h *rootHandler) Register(app *fiber.App) {
|
|
app.Static("/", "static")
|
|
}
|
|
|
|
func newRootHandler() *rootHandler {
|
|
return &rootHandler{}
|
|
}
|