redis
This commit is contained in:
34
common/Tnb.Common/Redis/RedisOptions.cs
Normal file
34
common/Tnb.Common/Redis/RedisOptions.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Cache;
|
||||
using JNPF.ConfigurableOptions;
|
||||
|
||||
namespace Tnb.Common.Redis
|
||||
{
|
||||
public class RedisOptions : IConfigurableOptions
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Redis配置.
|
||||
/// </summary>
|
||||
public string RedisConnectionString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务器地址.
|
||||
/// </summary>
|
||||
public string ip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 端口.
|
||||
/// </summary>
|
||||
public int port { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密码.
|
||||
/// </summary>
|
||||
public string password { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user