2024-06-24 18:21:59 -04:00
|
|
|
namespace HermesSocketServer
|
|
|
|
{
|
|
|
|
public class ServerConfiguration
|
|
|
|
{
|
|
|
|
public string Environment;
|
|
|
|
public WebsocketServerConfiguration WebsocketServer;
|
|
|
|
public DatabaseConfiguration Database;
|
2024-10-18 21:50:46 -04:00
|
|
|
public TTSConfiguration Tts;
|
2024-08-10 15:36:32 -04:00
|
|
|
public string AdminPassword;
|
2024-06-24 18:21:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
public class WebsocketServerConfiguration
|
|
|
|
{
|
|
|
|
public string Host;
|
|
|
|
public string Port;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class DatabaseConfiguration
|
|
|
|
{
|
|
|
|
public string ConnectionString;
|
2024-10-17 23:21:16 -04:00
|
|
|
public int SaveDelayInSeconds;
|
2024-06-24 18:21:59 -04:00
|
|
|
}
|
2024-10-18 21:50:46 -04:00
|
|
|
|
|
|
|
public class TTSConfiguration
|
|
|
|
{
|
|
|
|
public long OwnerId;
|
|
|
|
public string DefaultTtsVoice;
|
|
|
|
}
|
2024-06-24 18:21:59 -04:00
|
|
|
}
|