Each registered Source now becomes its own CheckRule (name = source ID) implementing CheckRuleWithOptions, so the host can toggle blacklists individually and the per-source option fields show up under the rule that owns them instead of one flat global option list. Collect honours the host's per-rule enable map (via the SDK's RuleEnabled context helper) and skips the network call for disabled sources entirely, not just their evaluation.
8 lines
132 B
Modula-2
8 lines
132 B
Modula-2
module git.happydns.org/checker-blacklist
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
git.happydns.org/checker-sdk-go v1.8.0
|
|
golang.org/x/net v0.34.0
|
|
)
|