Refactor entity list handling

This commit is contained in:
Patrick Pacher
2020-04-20 11:36:34 +02:00
parent 42ccb3e39a
commit eeb358425d
7 changed files with 167 additions and 217 deletions

View File

@@ -11,7 +11,7 @@ import (
// Endpoint describes an Endpoint Matcher
type Endpoint interface {
Matches(entity *intel.Entity) (result EPResult, reason string)
Matches(entity *intel.Entity) (EPResult, string)
String() string
}