init
This commit is contained in:
commit
f25ba8adcd
64 changed files with 5959 additions and 0 deletions
16
src/GsDChat.Server/Configuration/ServerOptions.cs
Normal file
16
src/GsDChat.Server/Configuration/ServerOptions.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
namespace GsDChat.Server.Configuration;
|
||||
|
||||
public class ServerOptions
|
||||
{
|
||||
public string Host { get; set; } = "0.0.0.0";
|
||||
public int Port { get; set; } = 5000;
|
||||
public bool UseTls { get; set; } = false;
|
||||
public string? CertificatePath { get; set; }
|
||||
public string? CertificatePassword { get; set; }
|
||||
public string? ServerWidePassword { get; set; }
|
||||
public string RegistrationMode { get; set; } = "Open"; // Open or InviteOnly
|
||||
public string DataDirectory { get; set; } = "data";
|
||||
public long MaxFileSizeMb { get; set; } = 50;
|
||||
public string ServerName { get; set; } = "GsDChat Community Server";
|
||||
public string Motd { get; set; } = "Welcome to GsDChat! Enjoy private, modular messaging.";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue