Versions in this module Expand all Collapse all v1 v1.21.0 Mar 20, 2024 Changes in this version + type Conn struct + func Connect(ctx context.Context, uri string, l *slog.Logger) (*Conn, error) + func (c *Conn) Close() error + func (c *Conn) Read() (*wire.MsgHeader, wire.MsgBody, error) + func (c *Conn) Request(ctx context.Context, header *wire.MsgHeader, body wire.MsgBody) (*wire.MsgHeader, wire.MsgBody, error) + func (c *Conn) Write(header *wire.MsgHeader, body wire.MsgBody) error + func (c *Conn) WriteRaw(b []byte) error