summaryrefslogblamecommitdiff
path: root/pkg/apiv1/misc.go
blob: fa3ca21fff94d7161f4273c0c5696b41ff3d73eb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                         
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"))
}