aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Users/IUserService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-18 07:05:03 -0600
committerGitHub <noreply@github.com>2022-02-18 07:05:03 -0600
commitfccc9c6440af11fd400f3d1dee243d2d18ea1651 (patch)
tree0ba68479205c192e630c985f5025c67d2ca4c715 /src/slskd/Users/IUserService.cs
parentdee1b7315ff56194f7868803b876cabe4ab165d7 (diff)
parent58e865993eb507e31dca3771fac0ea3829880d02 (diff)
downloadslskd-fccc9c6440af11fd400f3d1dee243d2d18ea1651.tar.gz
Merge pull request #346 from slskd/groups
Add upload slot and bandwidth limiting for user groups
Diffstat (limited to 'src/slskd/Users/IUserService.cs')
-rw-r--r--src/slskd/Users/IUserService.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs
index 469acef6..ad368c65 100644
--- a/src/slskd/Users/IUserService.cs
+++ b/src/slskd/Users/IUserService.cs
@@ -26,6 +26,13 @@ namespace slskd.Users
public interface IUserService
{
/// <summary>
+ /// Gets the name of the group for the specified <paramref name="username"/>.
+ /// </summary>
+ /// <param name="username">The username of the peer.</param>
+ /// <returns>The group for the specified username.</returns>
+ string GetGroup(string username);
+
+ /// <summary>
/// Retrieves peer <see cref="Info"/>.
/// </summary>
/// <param name="username">The username of the peer.</param>