29 lines
659 B
C#
29 lines
659 B
C#
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;
|
|
}
|
|
} |