MCPcopy
hub / github.com/IrineSistiana/mosdns

github.com/IrineSistiana/mosdns @v5.3.4 sqlite

repository ↗ · DeepWiki ↗ · release v5.3.4 ↗
995 symbols 2,842 edges 161 files 197 documented · 20%
README

mosdns

功能概述、配置方式、教程等,详见: wiki

下载预编译文件、更新日志,详见: release

docker 镜像: docker hub

Extension points exported contracts — how you extend this code

RecursiveExecutable (Interface)
RecursiveExecutable represents something that is executable and requires stack. [29 implementers]
plugin/executable/sequence/iface.go
Matcher (Interface)
"fqdn-insensitive" means the domain in Add() and Match() call is fqdn-insensitive. "google.com" and "google.com." will g [14 …
pkg/matcher/domain/interface.go
Upstream (Interface)
Upstream represents a DNS upstream. [6 implementers]
pkg/upstream/upstream.go
StringMatcher (Interface)
(no doc) [4 implementers]
plugin/matcher/string_exp/string_exp.go
Handler (Interface)
Handler handles incoming request q and MUST ALWAYS return a response. Handler MUST handle dns errors by itself and retur [1 …
pkg/server/iface.go
NewPluginArgsFunc (FuncType)
NewPluginArgsFunc represents a func that creates a new args object.
coremain/plugin.go
DomainMatcherProvider (Interface)
(no doc) [1 implementers]
plugin/data_provider/iface.go
ControlFunc (FuncType)
(no doc)
plugin/server/server_utils/socket_utils.go

Core symbols most depended-on inside this repo

Add
called by 58
pkg/matcher/domain/interface.go
L
called by 24
plugin/executable/sequence/quick_setup.go
MustRegExecQuickSetup
called by 21
plugin/executable/sequence/quick_setup.go
ExecNext
called by 21
plugin/executable/sequence/chain.go
R
called by 21
pkg/query_context/context.go
M
called by 20
plugin/executable/sequence/quick_setup.go
S
called by 20
mlog/logger.go
Get
called by 20
pkg/lru/lru.go

Shape

Function 414
Method 361
Struct 167
Interface 22
FuncType 18
TypeAlias 13

Languages

Go99%
Python1%

Modules by API surface

pkg/matcher/domain/matcher.go29 symbols
pkg/query_context/context.go28 symbols
pkg/concurrent_map/map.go23 symbols
plugin/executable/cache/dump.pb.go22 symbols
plugin/executable/sequence/built_in.go21 symbols
plugin/matcher/string_exp/string_exp.go20 symbols
plugin/executable/cache/cache.go18 symbols
pkg/upstream/transport/conn_traditional.go18 symbols
coremain/plugin.go17 symbols
plugin/executable/sequence/quick_setup.go15 symbols
pkg/upstream/transport/reuse.go15 symbols
pkg/cache/cache.go15 symbols

Dependencies from manifests, versioned

github.com/IrineSistiana/go-bytes-poolv0.0.0-2023091811505 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/davecgh/go-spewv1.1.2-0.20180830191 · 1×
github.com/fsnotify/fsnotifyv1.9.0 · 1×
github.com/go-viper/mapstructure/v2v2.4.0 · 1×
github.com/google/nftablesv0.3.0 · 1×
github.com/inconshreveable/mousetrapv1.1.0 · 1×

For agents

$ claude mcp add mosdns \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact