diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-16 11:40:47 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-15 19:09:20 -0400 |
commit | e7c194a8527d2aaf03b57fac66a0041aff714d70 (patch) | |
tree | 867b2545c836973151ac459b884a81045c6ca758 /sd_login/systemd_cgroup.go | |
parent | 265dd14966ae7b83d184d276f6085c12aa18a427 (diff) |
sd_login: Be slightly more verbose with type names.
Diffstat (limited to 'sd_login/systemd_cgroup.go')
-rw-r--r-- | sd_login/systemd_cgroup.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd_login/systemd_cgroup.go b/sd_login/systemd_cgroup.go index 0ceef37..12d5ade 100644 --- a/sd_login/systemd_cgroup.go +++ b/sd_login/systemd_cgroup.go @@ -2,9 +2,9 @@ package sd_login type _Cgroup interface { MustSkipSystemPrefix() _Cgroup - GetSession() Session - GetOwnerUser() User - GetMachine() Machine + GetSession() SessionName + GetOwnerUser() UserID + GetMachine() MachineName GetUserSlice() string GetUserUnit() string @@ -13,4 +13,4 @@ type _Cgroup interface { GetUnit() string } -func (pid PID) getCgroup() (_Cgroup, error) +func (pid ProcessID) getCgroup() (_Cgroup, error) |