Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeConn
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) LocalAddr() net.Addr
- func (fake *FakeConn) LocalAddrCallCount() int
- func (fake *FakeConn) LocalAddrReturns(result1 net.Addr)
- func (fake *FakeConn) Read(b []byte) (n int, err error)
- func (fake *FakeConn) ReadArgsForCall(i int) []byte
- func (fake *FakeConn) ReadCallCount() int
- func (fake *FakeConn) ReadReturns(result1 int, result2 error)
- func (fake *FakeConn) RemoteAddr() net.Addr
- func (fake *FakeConn) RemoteAddrCallCount() int
- func (fake *FakeConn) RemoteAddrReturns(result1 net.Addr)
- func (fake *FakeConn) SetDeadline(t time.Time) error
- func (fake *FakeConn) SetDeadlineArgsForCall(i int) time.Time
- func (fake *FakeConn) SetDeadlineCallCount() int
- func (fake *FakeConn) SetDeadlineReturns(result1 error)
- func (fake *FakeConn) SetReadDeadline(t time.Time) error
- func (fake *FakeConn) SetReadDeadlineArgsForCall(i int) time.Time
- func (fake *FakeConn) SetReadDeadlineCallCount() int
- func (fake *FakeConn) SetReadDeadlineReturns(result1 error)
- func (fake *FakeConn) SetWriteDeadline(t time.Time) error
- func (fake *FakeConn) SetWriteDeadlineArgsForCall(i int) time.Time
- func (fake *FakeConn) SetWriteDeadlineCallCount() int
- func (fake *FakeConn) SetWriteDeadlineReturns(result1 error)
- func (fake *FakeConn) Write(b []byte) (n int, err error)
- func (fake *FakeConn) WriteArgsForCall(i int) []byte
- func (fake *FakeConn) WriteCallCount() int
- func (fake *FakeConn) WriteReturns(result1 int, result2 error)
- type FakeListener
- func (fake *FakeListener) Accept() (c net.Conn, err error)
- func (fake *FakeListener) AcceptCallCount() int
- func (fake *FakeListener) AcceptReturns(result1 net.Conn, result2 error)
- func (fake *FakeListener) Addr() net.Addr
- func (fake *FakeListener) AddrCallCount() int
- func (fake *FakeListener) AddrReturns(result1 net.Addr)
- func (fake *FakeListener) Close() error
- func (fake *FakeListener) CloseCallCount() int
- func (fake *FakeListener) CloseReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConn ¶
type FakeConn struct { ReadStub func(b []byte) (n int, err error) WriteStub func(b []byte) (n int, err error) CloseStub func() error LocalAddrStub func() net.Addr RemoteAddrStub func() net.Addr SetDeadlineStub func(t time.Time) error SetReadDeadlineStub func(t time.Time) error SetWriteDeadlineStub func(t time.Time) error // contains filtered or unexported fields }
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) LocalAddrCallCount ¶
func (*FakeConn) LocalAddrReturns ¶
func (*FakeConn) ReadArgsForCall ¶
func (*FakeConn) ReadCallCount ¶
func (*FakeConn) ReadReturns ¶
func (*FakeConn) RemoteAddr ¶
func (*FakeConn) RemoteAddrCallCount ¶
func (*FakeConn) RemoteAddrReturns ¶
func (*FakeConn) SetDeadlineArgsForCall ¶
func (*FakeConn) SetDeadlineCallCount ¶
func (*FakeConn) SetDeadlineReturns ¶
func (*FakeConn) SetReadDeadlineArgsForCall ¶
func (*FakeConn) SetReadDeadlineCallCount ¶
func (*FakeConn) SetReadDeadlineReturns ¶
func (*FakeConn) SetWriteDeadlineArgsForCall ¶
func (*FakeConn) SetWriteDeadlineCallCount ¶
func (*FakeConn) SetWriteDeadlineReturns ¶
func (*FakeConn) WriteArgsForCall ¶
func (*FakeConn) WriteCallCount ¶
func (*FakeConn) WriteReturns ¶
type FakeListener ¶
type FakeListener struct { AcceptStub func() (c net.Conn, err error) CloseStub func() error AddrStub func() net.Addr // contains filtered or unexported fields }
func (*FakeListener) AcceptCallCount ¶
func (fake *FakeListener) AcceptCallCount() int
func (*FakeListener) AcceptReturns ¶
func (fake *FakeListener) AcceptReturns(result1 net.Conn, result2 error)
func (*FakeListener) Addr ¶
func (fake *FakeListener) Addr() net.Addr
func (*FakeListener) AddrCallCount ¶
func (fake *FakeListener) AddrCallCount() int
func (*FakeListener) AddrReturns ¶
func (fake *FakeListener) AddrReturns(result1 net.Addr)
func (*FakeListener) Close ¶
func (fake *FakeListener) Close() error
func (*FakeListener) CloseCallCount ¶
func (fake *FakeListener) CloseCallCount() int
func (*FakeListener) CloseReturns ¶
func (fake *FakeListener) CloseReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.