File size: 321 Bytes
651d019
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package model

import (
	process "github.com/mudler/go-processmanager"
)

type GRPCProcessFilter = func(id string, p *process.Process) bool

func all(_ string, _ *process.Process) bool {
	return true
}

func allExcept(s string) GRPCProcessFilter {
	return func(id string, p *process.Process) bool {
		return id != s
	}
}