21 lines
587 B
C#
21 lines
587 B
C#
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;
|
|
}
|