Working with packages and allowed IPs.

giredorectl now able to interact with giredored about:

* Setting package data. There is no such thing as "create" or "update",
just set.

* Deleting package data.

* Setting allowed IP addresses. This is the only authorization method
ATM, more may come in future.
This commit is contained in:
2019-10-07 18:21:26 +05:00
parent 83a8694061
commit 6ce7747dd5
24 changed files with 725 additions and 47 deletions

View File

@@ -0,0 +1,13 @@
package serverv1
import (
// stdlib
"net/http"
// other
"github.com/labstack/echo"
)
func throwGoImports(ec echo.Context) error {
return ec.String(http.StatusOK, "All OK here")
}