1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package sd_login type _Cgroup interface { MustSkipSystemPrefix() _Cgroup GetSession() Session GetOwnerUser() User GetMachine() Machine GetUserSlice() string GetUserUnit() string GetSlice() string GetUnit() string } func (pid PID) getCgroup() (_Cgroup, error)