hermes-server/ServerConfiguration.cs

29 lines
659 B
C#
Raw Permalink Normal View History

namespace HermesSocketServer
{
public class ServerConfiguration
{
public string Environment;
public WebsocketServerConfiguration WebsocketServer;
public DatabaseConfiguration Database;
public TTSConfiguration Tts;
public string AdminPassword;
}
public class WebsocketServerConfiguration
{
public string Host;
public string Port;
}
public class DatabaseConfiguration
{
public string ConnectionString;
public int SaveDelayInSeconds;
}
public class TTSConfiguration
{
public long OwnerId;
public string DefaultTtsVoice;
}
}