mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Add the ability to log users and their shared subdomains
This commit is contained in:
@@ -6,7 +6,7 @@ use App\Server\Connections\ControlConnection;
|
||||
use App\Server\Connections\HttpConnection;
|
||||
use Ratchet\ConnectionInterface;
|
||||
|
||||
interface ConnectionManager
|
||||
interface connectionmanager
|
||||
{
|
||||
public function storeConnection(string $host, ?string $subdomain, ?string $serverHost, ConnectionInterface $connection): ControlConnection;
|
||||
|
||||
|
||||
14
app/Contracts/LoggerRepository.php
Normal file
14
app/Contracts/LoggerRepository.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
use React\Promise\PromiseInterface;
|
||||
|
||||
interface LoggerRepository
|
||||
{
|
||||
public function logSubdomain($authToken, $subdomain);
|
||||
|
||||
public function getLogs(): PromiseInterface;
|
||||
|
||||
public function getLogsBySubdomain($subdomain): PromiseInterface;
|
||||
}
|
||||
Reference in New Issue
Block a user