Update go dependencies

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-12-05 13:27:09 -03:00
parent 432f534383
commit f4a4daed84
1299 changed files with 71186 additions and 91183 deletions

View file

@ -1,14 +1,18 @@
package common
import "fmt"
type (
NameAndCmdline struct {
Name string
Cmdline []string
ProcAttributes struct {
Name string
Cmdline []string
Username string
}
MatchNamer interface {
// MatchAndName returns false if the match failed, otherwise
// true and the resulting name.
MatchAndName(NameAndCmdline) (bool, string)
MatchAndName(ProcAttributes) (bool, string)
fmt.Stringer
}
)