From cc06d0f0f83fe3f9313a9e9e91e3cca9b8db7cf3 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 6 Sep 2022 21:59:39 -0500 Subject: add ConnectionStrings record --- src/slskd/Core/ConnectionStrings.cs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/slskd/Core/ConnectionStrings.cs (limited to 'src/slskd/Core/ConnectionStrings.cs') diff --git a/src/slskd/Core/ConnectionStrings.cs b/src/slskd/Core/ConnectionStrings.cs new file mode 100644 index 00000000..e5bd4f05 --- /dev/null +++ b/src/slskd/Core/ConnectionStrings.cs @@ -0,0 +1,29 @@ +// +// Copyright (c) slskd Team. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see https://www.gnu.org/licenses/. +// + +namespace slskd +{ + /// + /// Application connection strings. + /// + public record ConnectionStrings + { + public string Transfers { get; init; } + public string Shares { get; init; } + public string Search { get; init; } + } +} -- cgit v1.2.3