13 lines
247 B
Go
13 lines
247 B
Go
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"))
|
|
}
|