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() SessionName GetOwnerUser() UserID GetMachine() MachineName GetUserSlice() string GetUserUnit() string GetSlice() string GetUnit() string } func (pid ProcessID) getCgroup() (_Cgroup, error)