StorageParams

sealed class StorageParams

Sealed class representing different storage backend configurations. Different storage implementations can be selected by creating appropriate subclass instances.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class DatabaseStorageParams(val mongoDBConnection: MongoDBConnection, val databaseName: String, val collectionName: String) : StorageParams

Configuration for MongoDB-based storage.

Link copied to clipboard
data class FileStorageParams(val folder: String) : StorageParams

Configuration for file-based storage.