Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Minio;
|
||||
|
||||
namespace RobotNet10.StorageManager;
|
||||
|
||||
public class MinioConfig
|
||||
{
|
||||
public string Endpoint { get; set; } = string.Empty;
|
||||
public string User { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public bool EnableSSL { get; set; }
|
||||
}
|
||||
|
||||
public class StorageConfig
|
||||
{
|
||||
public bool UsingLocal { get; set; }
|
||||
public string LocalFolder { get; set; } = "Images";
|
||||
public string Bucket { get; set; } = string.Empty;
|
||||
public MinioConfig? MinioConfig { get; set; }
|
||||
public int RetryCount { get; set; } = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user