mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 03:34:50 +00:00
experiment with some tests
This commit is contained in:
committed by
Dominic Breuker
parent
cb48cc1b37
commit
f5ca2dad75
@@ -6,8 +6,20 @@ import (
|
||||
"log"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
type ProcfsScanner struct{}
|
||||
|
||||
func NewProcfsScanner() *ProcfsScanner {
|
||||
return &ProcfsScanner{}
|
||||
}
|
||||
|
||||
func (p *ProcfsScanner) Setup(triggerCh chan struct{}, interval time.Duration) (chan string, error) {
|
||||
psEventCh := make(chan string)
|
||||
return psEventCh, nil
|
||||
}
|
||||
|
||||
type ProcList map[int]string
|
||||
|
||||
func NewProcList() *ProcList {
|
||||
|
||||
Reference in New Issue
Block a user