Add internal/client/route_remove{,_test}.go
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"github.com/BBVA/kapow/internal/http"
|
||||
)
|
||||
|
||||
func RemoveRoute(host, id string) error {
|
||||
url := host + "/routes/" + id
|
||||
return http.Delete(url, nil, nil)
|
||||
}
|
||||
Reference in New Issue
Block a user