Documentation ¶
Index ¶
- Variables
- func Convert(slice []string) []byte
- func MockAddress(testId uint32, data map[string][]byte)
- func MockCname(testId uint32, data map[string][]byte)
- func MockMx(testId uint32, data map[string][]byte)
- func MockNew(testId uint32)
- func MockReroute(testId uint32, expectedAddress string, expectedNet string)
- func MockReset(testId uint32)
- func MockTxT(testId uint32, data map[string][]byte)
- type MockData
Constants ¶
This section is empty.
Variables ¶
View Source
var DnsLookupAddress = func(resolverId uint32, name string, addrPtr *byte) (error errno.Error) {
return 0
}
View Source
var DnsLookupAddressSize = func(resolverId uint32, name string, sizePtr *uint32) (error errno.Error) {
return 0
}
View Source
var DnsLookupCNAME = func(resolverId uint32, name string, cnamePtr *byte) (error errno.Error) {
return 0
}
View Source
var DnsLookupCNAMESize = func(resolverId uint32, name string, sizePtr *uint32) (error errno.Error) {
return 0
}
View Source
var DnsLookupMX = func(resolverId uint32, name string, mxPtr *byte) (error errno.Error) {
return 0
}
View Source
var DnsLookupMXSize = func(resolverId uint32, name string, sizePtr *uint32) (error errno.Error) {
return 0
}
View Source
var DnsLookupTxT = func(resolverId uint32, name string, txtPtr *byte) (error errno.Error) {
return 0
}
View Source
var DnsLookupTxTSize = func(resolverId uint32, name string, sizePtr *uint32) (error errno.Error) {
return 0
}
View Source
var DnsNewResolver = func(resolverIdPtr *uint32) (error errno.Error) {
return 0
}
View Source
var DnsRerouteResolver = func(resolverIdPtr uint32, address string, net string) (error errno.Error) {
return 0
}
View Source
var DnsResetResolver = func(resolverIdPtr uint32) (error errno.Error) {
return 0
}
Functions ¶
func MockAddress ¶
func MockReroute ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.