giredore/domains/server/v1/configapi.go
Stanislav N. aka pztrn 83a8694061
Server and client stubs.
Implemented HTTP server with configuration getting stub.

Implemented CLI client with configuration getting stub.
2019-10-05 21:53:22 +05:00

15 lines
276 B
Go

package serverv1
import (
// stdlib
"net/http"
// other
"github.com/labstack/echo"
)
// This function responsible for getting runtime configuration.
func configurationGET(ec echo.Context) error {
return ec.JSON(http.StatusOK, map[string]string{"result": "success"})
}