mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-04 03:54:51 +01:00
Adds support for influxdb version 1
This commit is contained in:
13
app/Utils/InfluxDB/InfluxDBWrapperInterface.php
Normal file
13
app/Utils/InfluxDB/InfluxDBWrapperInterface.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Utils\InfluxDB;
|
||||
|
||||
use App\Speedtest;
|
||||
|
||||
interface InfluxDBWrapperInterface
|
||||
{
|
||||
public function testConnection(): bool;
|
||||
public function doesDatabaseExist(string $database): bool;
|
||||
public function createDatabase(string $database): bool;
|
||||
public function store(Speedtest $speedtest): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user