Documentation ¶
Index ¶
- func EnsureLeadingPeriod(name string) string
- func EnsureTrailingPeriod(name string) string
- type FakeDNSWriter
- func (fd *FakeDNSWriter) Close() error
- func (fd *FakeDNSWriter) Hijack()
- func (fd *FakeDNSWriter) LocalAddr() net.Addr
- func (fd *FakeDNSWriter) Msg() *dns.Msg
- func (fd *FakeDNSWriter) RemoteAddr() net.Addr
- func (fd *FakeDNSWriter) TsigStatus() error
- func (fd *FakeDNSWriter) TsigTimersOnly(v bool)
- func (fd *FakeDNSWriter) Write([]byte) (int, error)
- func (fd *FakeDNSWriter) WriteMsg(msg *dns.Msg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureLeadingPeriod ¶
func EnsureTrailingPeriod ¶
Types ¶
type FakeDNSWriter ¶
type FakeDNSWriter struct {
// contains filtered or unexported fields
}
func NewFakeDNSWriter ¶
func NewFakeDNSWriter(w dns.ResponseWriter) *FakeDNSWriter
func (*FakeDNSWriter) Close ¶
func (fd *FakeDNSWriter) Close() error
func (*FakeDNSWriter) Hijack ¶
func (fd *FakeDNSWriter) Hijack()
func (*FakeDNSWriter) LocalAddr ¶
func (fd *FakeDNSWriter) LocalAddr() net.Addr
func (*FakeDNSWriter) Msg ¶
func (fd *FakeDNSWriter) Msg() *dns.Msg
func (*FakeDNSWriter) RemoteAddr ¶
func (fd *FakeDNSWriter) RemoteAddr() net.Addr
func (*FakeDNSWriter) TsigStatus ¶
func (fd *FakeDNSWriter) TsigStatus() error
func (*FakeDNSWriter) TsigTimersOnly ¶
func (fd *FakeDNSWriter) TsigTimersOnly(v bool)
Click to show internal directories.
Click to hide internal directories.