mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 20:37:23 +01:00
* rework server responsibilities add remote configuration * start metrics only when compiled as not debug * add some more logging to discord bot * fixes of some casts * make metrics port configurable, minor fixes * add docker bullshit * md formatting * adjustments to docker stuff * fix docker json files, fix some stuff in discord bot, add /useradd for Discord bot * adjust docker configs and fix sharded.bat * fixes for logs, cache file provider repeat trying to open filestream Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
11 lines
302 B
C#
11 lines
302 B
C#
using MareSynchronosShared.Utils;
|
|
|
|
namespace MareSynchronosShared.Services;
|
|
|
|
public interface IConfigurationService<T> where T : class, IMareConfiguration
|
|
{
|
|
bool IsMain { get; }
|
|
T1 GetValue<T1>(string key);
|
|
T1 GetValueOrDefault<T1>(string key, T1 defaultValue);
|
|
string ToString();
|
|
}
|