<?php
namespace Gm\Config;
class RedisConfig {

    // is cluster
    public const IS_CLUSTER = false;

    public const remote_hostname = 'google.cn.com';
    public const remote_port = '9527';

    public const DEFAULT_HOST_NAME = '192.168.0.21';
    public const DEFAULT_PORT = '900';
    public const DEFAULT_CLUSTER = [
        '192.168.0.23:6379'
    ];

    public const hostname = 'zone2.ng.com';
    public const port = '1000';

    public const cluster_nodes = array(
        '192.168.0.23:1001',
        '192.168.0.23:1002',
        '192.168.0.23:1003',
    );

    // gm 存入key
    public const saveGameKey = 'pack';

    public const searchGmKey = 'GM';

    public const segmentation1 = '@';

    public const segmentation2 = '-';
}
