idecnode/pkg/apiv1/misc.go

14 lines
247 B
Go
Raw Permalink Normal View History

2024-10-29 01:21:05 +03:00
package apiv1
import (
"net/http"
"strings"
"github.com/labstack/echo/v4"
"gitrepo.ru/neonxp/idecnode/pkg/idec"
)
func (a *API) getFeaturesHandler(c echo.Context) error {
return c.String(http.StatusOK, strings.Join(idec.Features, "\n"))
}