experiment with some tests

This commit is contained in:
Dominic Breuker committed 2018-03-12 08:58:01 +01:00
1 parent a517fe25de
commit d59ec7f1a8
7 files changed
+215 -41

No files matched your search

+12
View File
@@ -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 {