Documentation ¶
Index ¶
- Constants
- func GetAuthenticatedData(d *dns.Msg) interface{}
- func GetAuthenticatedDataString(d *dns.Msg) string
- func GetAuthoritative(d *dns.Msg) interface{}
- func GetAuthoritativeString(d *dns.Msg) string
- func GetCanonicalQName(d *dns.Msg) interface{}
- func GetCanonicalQNameString(d *dns.Msg) string
- func GetCheckingDisabled(d *dns.Msg) interface{}
- func GetCheckingDisabledString(d *dns.Msg) string
- func GetECSQuery(d *dns.Msg) interface{}
- func GetECSQueryString(d *dns.Msg) string
- func GetECSResponse(d *dns.Msg) interface{}
- func GetECSResponseString(d *dns.Msg) string
- func GetECSScopeMask(d *dns.Msg) interface{}
- func GetECSScopeMaskString(d *dns.Msg) string
- func GetECSSourceMask(d *dns.Msg) interface{}
- func GetECSSourceMaskString(d *dns.Msg) string
- func GetMessageType(d *dnstap.Dnstap) interface{}
- func GetMessageTypeString(d *dnstap.Dnstap) string
- func GetOpcode(d *dns.Msg) interface{}
- func GetOpcodeString(d *dns.Msg) string
- func GetQClass(d *dns.Msg) interface{}
- func GetQClassString(d *dns.Msg) string
- func GetQName(d *dns.Msg) interface{}
- func GetQNameETLD(d *dns.Msg) interface{}
- func GetQNameETLDPlus(d *dns.Msg) interface{}
- func GetQNameETLDPlusString(d *dns.Msg) string
- func GetQNameETLDString(d *dns.Msg) string
- func GetQNameString(d *dns.Msg) string
- func GetQNameXLD(d *dns.Msg, n int) interface{}
- func GetQNameXLDString(d *dns.Msg, n int) string
- func GetQType(d *dns.Msg) interface{}
- func GetQTypeString(d *dns.Msg) string
- func GetQueryAddress(d *dnstap.Dnstap) interface{}
- func GetQueryAddressString(d *dnstap.Dnstap) string
- func GetQueryPort(d *dnstap.Dnstap) interface{}
- func GetQueryPortString(d *dnstap.Dnstap) string
- func GetRcode(d *dns.Msg) interface{}
- func GetRcodeString(d *dns.Msg) string
- func GetRecursionAvailable(d *dns.Msg) interface{}
- func GetRecursionAvailableString(d *dns.Msg) string
- func GetRecursionDesired(d *dns.Msg) interface{}
- func GetRecursionDesiredString(d *dns.Msg) string
- func GetResponse(d *dns.Msg) interface{}
- func GetResponseAddress(d *dnstap.Dnstap) interface{}
- func GetResponseAddressString(d *dnstap.Dnstap) string
- func GetResponsePort(d *dnstap.Dnstap) interface{}
- func GetResponsePortString(d *dnstap.Dnstap) string
- func GetResponseString(d *dns.Msg) string
- func GetSocketFamily(d *dnstap.Dnstap) interface{}
- func GetSocketFamilyString(d *dnstap.Dnstap) string
- func GetSocketProtocol(d *dnstap.Dnstap) interface{}
- func GetSocketProtocolString(d *dnstap.Dnstap) string
- func GetTruncated(d *dns.Msg) interface{}
- func GetTruncatedString(d *dns.Msg) string
- func RegisterDnsMsgGetFunc(name DnsMsgGetterName, getFunc DnsMsgGetFunc, strFunc DnsMsgStrFunc)
- func RegisterDnstapGetFunc(name DnstapGetterName, getFunc DnstapGetFunc, strFunc DnstapStrFunc)
- type DnsMsgGetFunc
- type DnsMsgGetterName
- type DnsMsgStrFunc
- type DnstapGetFunc
- type DnstapGetterName
- type DnstapStrFunc
Constants ¶
View Source
const ( MatchStringOn = "on" MatchStringOff = "off" MatchStringUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func GetAuthenticatedData ¶
func GetAuthoritative ¶
func GetAuthoritativeString ¶
func GetCanonicalQName ¶
func GetCanonicalQNameString ¶
func GetCheckingDisabled ¶
func GetECSQuery ¶ added in v1.4.0
func GetECSQueryString ¶ added in v1.4.0
func GetECSResponse ¶ added in v1.4.0
func GetECSResponseString ¶ added in v1.4.0
func GetECSScopeMask ¶ added in v1.4.0
func GetECSScopeMaskString ¶ added in v1.4.0
func GetECSSourceMask ¶ added in v1.4.0
func GetECSSourceMaskString ¶ added in v1.4.0
func GetMessageType ¶
func GetMessageTypeString ¶
func GetOpcodeString ¶
func GetQClassString ¶
func GetQNameETLD ¶ added in v1.8.0
func GetQNameETLDPlus ¶ added in v1.8.0
func GetQNameETLDPlusString ¶ added in v1.8.0
func GetQNameETLDString ¶ added in v1.8.0
func GetQNameString ¶
func GetQNameXLD ¶ added in v1.4.0
func GetQTypeString ¶
func GetQueryAddress ¶
func GetQueryAddressString ¶
func GetQueryPort ¶
func GetQueryPortString ¶
func GetRcodeString ¶
func GetRecursionAvailable ¶
func GetRecursionDesired ¶
func GetResponse ¶
func GetResponseAddress ¶
func GetResponsePort ¶
func GetResponsePortString ¶
func GetResponseString ¶
func GetSocketFamily ¶
func GetSocketFamilyString ¶
func GetSocketProtocol ¶
func GetSocketProtocolString ¶
func GetTruncated ¶
func GetTruncatedString ¶
func RegisterDnsMsgGetFunc ¶
func RegisterDnsMsgGetFunc(name DnsMsgGetterName, getFunc DnsMsgGetFunc, strFunc DnsMsgStrFunc)
func RegisterDnstapGetFunc ¶
func RegisterDnstapGetFunc(name DnstapGetterName, getFunc DnstapGetFunc, strFunc DnstapStrFunc)
Types ¶
type DnsMsgGetFunc ¶
func NewDnsMsgGetFunc ¶ added in v1.2.0
func NewDnsMsgGetFunc(name DnsMsgGetterName) DnsMsgGetFunc
type DnsMsgGetterName ¶
type DnsMsgGetterName string
const ( GetterAuthenticatedData DnsMsgGetterName = "AuthenticatedData" GetterAD DnsMsgGetterName = "AD" )
const ( GetterAuthoritative DnsMsgGetterName = "Authoritative" GetterAA DnsMsgGetterName = "AA" )
const ( GetterCheckingDisabled DnsMsgGetterName = "CheckingDisabled" GetterCD DnsMsgGetterName = "CD" )
const ( GetterECSQuery DnsMsgGetterName = "ECSQuery" GetterECSResponse DnsMsgGetterName = "ECSResponse" GetterECSSourceMask DnsMsgGetterName = "ECSSourceMask" GetterECSScopeMask DnsMsgGetterName = "ECSScopeMask" )
const ( GetterQNameTLD DnsMsgGetterName = "QNameTLD" GetterQNameSLD DnsMsgGetterName = "QNameSLD" GetterQName1LD DnsMsgGetterName = "QName1LD" GetterQName2LD DnsMsgGetterName = "QName2LD" GetterQName3LD DnsMsgGetterName = "QName3LD" GetterQName4LD DnsMsgGetterName = "QName4LD" GetterQName5LD DnsMsgGetterName = "QName5LD" )
const ( GetterRecursionAvailable DnsMsgGetterName = "RecursionAvailable" GetterRA DnsMsgGetterName = "RA" )
const ( GetterRecursionDesired DnsMsgGetterName = "RecursionDesired" GetterRD DnsMsgGetterName = "RD" )
const ( GetterResponse DnsMsgGetterName = "Response" GetterQR DnsMsgGetterName = "QR" )
const ( GetterTruncated DnsMsgGetterName = "Truncated" GetterTC DnsMsgGetterName = "TC" )
const (
GetterCanonicalQName DnsMsgGetterName = "CanonicalQName"
)
const (
GetterOpcode DnsMsgGetterName = "Opcode"
)
const (
GetterQClass DnsMsgGetterName = "QClass"
)
const (
GetterQName DnsMsgGetterName = "QName"
)
const (
GetterQNameETLD DnsMsgGetterName = "QNameETLD"
)
const (
GetterQNameETLDPlus DnsMsgGetterName = "QNameETLDPlus"
)
const (
GetterQType DnsMsgGetterName = "QType"
)
const (
GetterRcode DnsMsgGetterName = "Rcode"
)
func (DnsMsgGetterName) Get ¶
func (s DnsMsgGetterName) Get() DnsMsgGetterName
type DnsMsgStrFunc ¶
func NewDnsMsgStrFunc ¶ added in v1.2.0
func NewDnsMsgStrFunc(name DnsMsgGetterName) DnsMsgStrFunc
type DnstapGetFunc ¶
func NewDnstapGetFunc ¶ added in v1.2.0
func NewDnstapGetFunc(name DnstapGetterName) DnstapGetFunc
type DnstapGetterName ¶
type DnstapGetterName string
const ( GetterMessageProtocol DnstapGetterName = "MessageProtocol" GetterSocketProtocol DnstapGetterName = "SocketProtocol" )
const ( GetterMessageFamily DnstapGetterName = "MessageFamily" GetterSocketFamily DnstapGetterName = "SocketFamily" )
const (
GetterMessageType DnstapGetterName = "MessageType"
)
const (
GetterQueryAddress DnstapGetterName = "QueryAddress"
)
const (
GetterQueryPort DnstapGetterName = "QueryPort"
)
const (
GetterResponseAddress DnstapGetterName = "ResponseAddress"
)
const (
GetterResponsePort DnstapGetterName = "ResponsePort"
)
func (DnstapGetterName) Get ¶
func (s DnstapGetterName) Get() DnstapGetterName
type DnstapStrFunc ¶
func NewDnstapStrFunc ¶ added in v1.2.0
func NewDnstapStrFunc(name DnstapGetterName) DnstapStrFunc
Source Files ¶
- get_authenticated_data.go
- get_authoritative.go
- get_checking_disabled.go
- get_ecs.go
- get_message_type.go
- get_opcode.go
- get_query_address.go
- get_query_canonical_name.go
- get_query_class.go
- get_query_name.go
- get_query_name_etld.go
- get_query_name_etld_plus.go
- get_query_name_nld.go
- get_query_port.go
- get_query_type.go
- get_rcode.go
- get_recursion_available.go
- get_recursion_desired.go
- get_response.go
- get_response_address.go
- get_response_port.go
- get_socket_fammily.go
- get_socket_protocol.go
- get_truncated.go
- register.go
Click to show internal directories.
Click to hide internal directories.