18 lines
515 B
C#
18 lines
515 B
C#
namespace VoidCat.Model
|
|
{
|
|
public class VoidSettings
|
|
{
|
|
public string DataDirectory { get; init; } = "./data";
|
|
|
|
public TorSettings? TorSettings { get; init; }
|
|
|
|
public JwtSettings JwtSettings { get; init; } = new("void_cat_internal", "default_key");
|
|
|
|
public string? Redis { get; init; }
|
|
}
|
|
|
|
public sealed record TorSettings(Uri TorControl, string PrivateKey, string ControlPassword);
|
|
|
|
public sealed record JwtSettings(string Issuer, string Key);
|
|
}
|