Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/honwen/aiodns
/ types & classes
Types & classes
13 in github.com/honwen/aiodns
⨍
Functions
80
◇
Types & classes
13
↓ 1 callers
TypeAlias
float32Value
float32Value is an float32 that can be defined as a flag for [flag.FlagSet].
internal/cmd/flag.go:32
↓ 1 callers
TypeAlias
uint32Value
uint32Value is an uint32 that can be defined as a flag for [flag.FlagSet].
internal/cmd/flag.go:13
Struct
Configuration
Configuration represents dnsproxy Configuration.
internal/cmd/config.go:15
Struct
Default
Default implements the default configurable [proxy.RequestHandler].
internal/handler/default.go:29
Struct
DefaultConfig
DefaultConfig is the configuration for [Default].
internal/handler/default.go:12
Struct
DefaultMessageConstructor
DefaultMessageConstructor is a default implementation of [MessageConstructor].
internal/dnsmsg/constructor.go:34
Interface
MessageConstructor
MessageConstructor creates DNS messages.
internal/dnsmsg/constructor.go:12
Struct
commandLineOption
commandLineOption contains information about a command-line option: its long and, if there is one, short forms, the value type, and the description.
internal/cmd/args.go:73
Struct
defaultConstructor
defaultConstructor is a wrapper for [proxy.MessageConstructor] that also implements the [messageConstructor] interface. TODO(e.burkov): This impleme
internal/handler/constructor.go:34
TypeAlias
emptyStorage
emptyStorage is a [hostsfile.Storage] that contains no records. TODO(e.burkov): Move to [hostsfile].
internal/handler/hosts.go:22
Struct
intSliceValue
intSliceValue represent a struct with a slice of integers that can be defined as a flag for [flag.FlagSet].
internal/cmd/flag.go:52
Interface
messageConstructor
messageConstructor is an extension of the [proxy.MessageConstructor] interface that also provides methods for creating DNS responses.
internal/handler/constructor.go:12
Struct
stringSliceValue
stringSliceValue represent a struct with a slice of strings that can be defined as a flag for [flag.FlagSet].
internal/cmd/flag.go:109