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

Struct ResolverModule

service/resolver/main.go:25–35  ·  view source on GitHub ↗

ResolverModule is the DNS resolver module.

Source from the content-addressed store, hash-verified

23
24// ResolverModule is the DNS resolver module.
25type ResolverModule struct { //nolint
26 mgr *mgr.Manager
27 instance instance
28
29 failingResolverWorkerMgr *mgr.WorkerMgr
30 suggestUsingStaleCacheTask *mgr.WorkerMgr
31
32 isDisabled atomic.Bool
33
34 states *mgr.StateMgr
35}
36
37// Manager returns the module manager.
38func (rm *ResolverModule) Manager() *mgr.Manager {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected