<?php

/**
 * RedisLinkDefine.php
 * 文件描述
 * Created On 2021/12/30
 * @author yuanb yuanbo0x@gmail.com
 */

namespace Framework\Define;

class RedisLinkDefine
{
    public int $db_mode;
    public string $ip;
    public int $port;
    public array $node;

    public function __construct($mode, $ip, $port, $node)
    {
        $this->db_mode = $mode;
        $this->ip = $ip;
        $this->port = $port;
        $this->node = $node;
    }
}
