gopkg.in/essentialkaos/ek.v3@v3.5.1/system/process/processes_windows.go (about) 1 // +build windows 2 3 package process 4 5 // ////////////////////////////////////////////////////////////////////////////////// // 6 // // 7 // Copyright (c) 2009-2016 Essential Kaos // 8 // Essential Kaos Open Source License <http://essentialkaos.com/ekol?en> // 9 // // 10 // ////////////////////////////////////////////////////////////////////////////////// // 11 12 // ProcessInfo contains basic info about process 13 type ProcessInfo struct { 14 Command string // Full command 15 User string // Username 16 PID int // PID 17 IsThread bool // True if process is thread 18 Parent int // Parent process PID 19 Childs []*ProcessInfo // Slice with child processes 20 } 21 22 // ////////////////////////////////////////////////////////////////////////////////// // 23 24 // GetTree return root process with all subprocesses on system 25 func GetTree() (*ProcessInfo, error) { 26 return nil, nil 27 } 28 29 // GetList return slice with all active processes on system 30 func GetList() ([]*ProcessInfo, error) { 31 return nil, nil 32 }