add config store

This commit is contained in:
2024-07-26 08:11:21 +08:00
parent 82f7e0fc00
commit 929ddaced3
21 changed files with 302 additions and 153 deletions
+5 -5
View File
@@ -5,19 +5,19 @@ public class SimApiStorageOptions
/// <summary>
/// S3 服务器入口地址
/// </summary>
public string Endpoint { get; set; }
public string? Endpoint { get; set; }
/// <summary>
/// S3 服务器文件访问地址
/// </summary>
public string ServeUrl { get; set; }
public string? ServeUrl { get; set; }
/// <summary>
/// S3服务 Bucket
/// </summary>
public string Bucket { get; set; }
public string? Bucket { get; set; }
public string AccessKey { get; set; }
public string? AccessKey { get; set; }
public string SecretKey { get; set; }
public string? SecretKey { get; set; }
}
+7 -12
View File
@@ -5,20 +5,15 @@ public class SimApiSynapseOptions
/// <summary>
/// Mqtt服务器的Websocket地址
/// </summary>
public string Websocket { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string SysName { get; set; }
public string AppName { get; set; }
public string AppId { get; set; }
public string? Websocket { get; set; }
public string? Username { get; set; }
public string? Password { get; set; }
public string? SysName { get; set; }
public string? AppName { get; set; }
public string? AppId { get; set; }
public int RpcTimeout { get; set; } = 3;
public bool EnableConfigStore { get; set; } = true;
public bool DisableEventClient { get; set; } = false;
public bool DisableRpcClient { get; set; } = false;
}