Initial commit after restructure

This commit is contained in:
Daniel 2018-08-13 14:14:27 +02:00
commit bdeddc41f9
177 changed files with 26108 additions and 0 deletions

13
process/process_linux.go Normal file
View file

@ -0,0 +1,13 @@
package process
func (m *Process) IsUser() bool {
return m.UserID >= 1000
}
func (m *Process) IsAdmin() bool {
return m.UserID >= 0
}
func (m *Process) IsSystem() bool {
return m.UserID == 0
}