summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/StorageConfig.cs18
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs15
2 files changed, 0 insertions, 33 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/StorageConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/StorageConfig.cs
deleted file mode 100644
index 61cc4855..00000000
--- a/src/SMAPI.Web/Framework/ConfigModels/StorageConfig.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-namespace StardewModdingAPI.Web.Framework.ConfigModels
-{
- /// <summary>The config settings for cache storage.</summary>
- internal class StorageConfig
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The storage mechanism to use.</summary>
- public StorageMode Mode { get; set; }
-
- /// <summary>The connection string for the storage mechanism, if applicable.</summary>
- public string ConnectionString { get; set; }
-
- /// <summary>The database name for the storage mechanism, if applicable.</summary>
- public string Database { get; set; }
- }
-}
diff --git a/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs b/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs
deleted file mode 100644
index 4c2ea801..00000000
--- a/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace StardewModdingAPI.Web.Framework.ConfigModels
-{
- /// <summary>Indicates a storage mechanism to use.</summary>
- internal enum StorageMode
- {
- /// <summary>Store data in a hosted MongoDB instance.</summary>
- Mongo,
-
- /// <summary>Store data in an in-memory MongoDB instance. This is useful for testing MongoDB storage locally, but will likely fail when deployed since it needs permission to open a local port.</summary>
- MongoInMemory,
-
- /// <summary>Store data in-memory. This is suitable for local testing or single-instance servers, but will cause issues when distributed across multiple servers.</summary>
- InMemory
- }
-}