pcmt/handlers/handlers.go

14 lines
223 B
Go

package handlers
import (
"net/http"
"github.com/labstack/echo/v4"
)
func Admin() echo.HandlerFunc {
return func(c echo.Context) error {
return echo.NewHTTPError(http.StatusUnauthorized, "Invalid credentials")
}
}