3 import "golang.org/x/net/context"
5 // ServiceRemove kills and removes a service.
6 func (cli *Client) ServiceRemove(ctx context.Context, serviceID string) error {
7 resp, err := cli.delete(ctx, "/services/"+serviceID, nil, nil)
8 ensureReaderClosed(resp)