|
<?php
|
|
|
|
namespace App\Services\Monitoring;
|
|
|
|
interface MonitoringClient
|
|
{
|
|
/** Register an uptime/monitoring target; returns the external target id. */
|
|
public function registerTarget(string $name, string $url): string;
|
|
|
|
public function deregisterTarget(string $externalId): void;
|
|
}
|