mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
Add load balancer (#453)
This commit is contained in:
16
app/Enums/LoadBalancerMethod.php
Normal file
16
app/Enums/LoadBalancerMethod.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use App\Traits\Enum;
|
||||
|
||||
final class LoadBalancerMethod
|
||||
{
|
||||
use Enum;
|
||||
|
||||
const ROUND_ROBIN = 'round-robin';
|
||||
|
||||
const LEAST_CONNECTIONS = 'least-connections';
|
||||
|
||||
const IP_HASH = 'ip-hash';
|
||||
}
|
Reference in New Issue
Block a user