MCPcopy
hub / github.com/safing/portmaster / EndpointDomain

Struct EndpointDomain

service/profile/endpoints/endpoint-domain.go:29–36  ·  view source on GitHub ↗

EndpointDomain matches domains.

Source from the content-addressed store, hash-verified

27
28// EndpointDomain matches domains.
29type EndpointDomain struct {
30 EndpointBase
31
32 OriginalValue string
33 Domain string
34 DomainZone string
35 MatchType uint8
36}
37
38func (ep *EndpointDomain) check(entity *intel.Entity, domain string) (EPResult, Reason) {
39 result, reason := ep.match(ep, entity, ep.OriginalValue, "domain matches")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected