MCPcopy
hub / github.com/0xERR0R/blocky / Configurable

Interface Configurable

config/config.go:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36)
37
38type Configurable interface {
39 // IsEnabled returns true when the receiver is configured.
40 IsEnabled() bool
41
42 // LogConfig logs the receiver's configuration.
43 //
44 // The behavior of this method is undefined when `IsEnabled` returns false.
45 LogConfig(logger *logrus.Entry)
46}
47
48// NetProtocol resolver protocol ENUM(
49// tcp+udp // TCP and UDP protocols

Callers 16

ResolveMethod · 0.65
ResolveMethod · 0.65
loadSourcesMethod · 0.65
ResolveMethod · 0.65
ResolveMethod · 0.65
LogConfigMethod · 0.65
LogConfigMethod · 0.65
LogConfigMethod · 0.65

Implementers 15

MockResolvermetrics/metrics_test.go
upstreamConfigresolver/upstream_resolver.go
loggingPassthroughresolver/hotpath_logging_bench_test.go
mockResolverresolver/mocks_test.go
ECSClientResolverresolver/ecs_resolver.go
MockChainedResolverresolver/mocks.go
NoOpResolverresolver/noop_resolver.go
HTTP3config/http3.go
DNSSECconfig/dnssec.go
ClientLookupconfig/client_lookup.go
QueryLogconfig/query_log.go

Calls

no outgoing calls

Tested by

no test coverage detected