Documentation
¶
Index ¶
- func Close(conn net.Conn)
- func Copy(c1, c2 io.ReadWriteCloser, kvs ...string) (in int64, out int64)
- func RemoteAddrString(c net.Conn) string
- func SetReadTimeout(conn net.Conn, tds ...time.Duration)
- func WithCompression(rwc io.ReadWriteCloser) io.ReadWriteCloser
- func WrapReadWriteCloser(r io.Reader, w io.Writer, closeFn func() error) io.ReadWriteCloser
- type Conn
- type ReadWriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteAddrString ¶
func WithCompression ¶
func WithCompression(rwc io.ReadWriteCloser) io.ReadWriteCloser
func WrapReadWriteCloser ¶
Types ¶
type ReadWriteCloser ¶
type ReadWriteCloser struct {
// contains filtered or unexported fields
}
func (*ReadWriteCloser) Close ¶
func (rwc *ReadWriteCloser) Close() (res error)
Click to show internal directories.
Click to hide internal directories.