package testconn
import "github.com/Azure/go-amqp/internal/testconn"
Index ¶
- type Conn
- func New(data []byte) *Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (int, error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) Write(b []byte) (n int, err error)
- type Recorder
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func New ¶
func (*Conn) Close ¶
func (*Conn) LocalAddr ¶
func (*Conn) Read ¶
func (*Conn) RemoteAddr ¶
func (*Conn) SetDeadline ¶
func (*Conn) SetReadDeadline ¶
func (*Conn) SetWriteDeadline ¶
func (*Conn) Write ¶
type Recorder ¶
func NewRecorder ¶
func NewRecorder(w io.WriteCloser, conn net.Conn) Recorder
func (Recorder) Close ¶
func (Recorder) Read ¶
Source Files ¶
- Version
- v1.4.0 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 1 month ago –
Tools for package owners.