Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type Conn
- func (_m *Conn) Close() error
- func (_m *Conn) LocalAddr() net.Addr
- func (_m *Conn) Read(b []byte) (int, error)
- func (_m *Conn) RemoteAddr() net.Addr
- func (_m *Conn) SetDeadline(t time.Time) error
- func (_m *Conn) SetReadDeadline(t time.Time) error
- func (_m *Conn) SetWriteDeadline(t time.Time) error
- func (_m *Conn) Write(b []byte) (int, error)
- type DNSCache
- type Dialer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
Conn is an autogenerated mock type for the Conn type
func (*Conn) RemoteAddr ¶
RemoteAddr provides a mock function with given fields:
func (*Conn) SetDeadline ¶
SetDeadline provides a mock function with given fields: t
func (*Conn) SetReadDeadline ¶
SetReadDeadline provides a mock function with given fields: t
func (*Conn) SetWriteDeadline ¶
SetWriteDeadline provides a mock function with given fields: t
type DNSCache ¶
DNSCache is an autogenerated mock type for the DNSCache type
func NewDNSCache ¶ added in v0.5.4
func NewDNSCache(t mockConstructorTestingTNewDNSCache) *DNSCache
NewDNSCache creates a new instance of DNSCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Dialer ¶
Dialer is an autogenerated mock type for the Dialer type
Click to show internal directories.
Click to hide internal directories.