Files
kapow/internal/client/route_remove.go
pancho horrillo 013cd4d637 Add internal/client/route_remove{,_test}.go
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2019-10-03 18:22:18 +02:00

11 lines
177 B
Go

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)
}