Endpoint describes an Endpoint Matcher.
| 12 | |
| 13 | // Endpoint describes an Endpoint Matcher. |
| 14 | type Endpoint interface { |
| 15 | Matches(ctx context.Context, entity *intel.Entity) (EPResult, Reason) |
| 16 | String() string |
| 17 | } |
| 18 | |
| 19 | // EndpointBase provides general functions for implementing an Endpoint to reduce boilerplate. |
| 20 | type EndpointBase struct { //nolint:maligned // TODO |
no outgoing calls
no test coverage detected