Stanislav N. aka pztrn
6ce7747dd5
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.
14 lines
187 B
Go
14 lines
187 B
Go
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")
|
|
}
|