package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 17, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Package preconn provides an implementation of net.Conn that allows insertion
of data before the beginning of the underlying connection.
Conn is a net.Conn that supports replaying.
Wrap wraps the supplied conn and inserting the given bytes at the head of the
stream.
WrapReader wraps the supplied conn, reading from 'head' first.
Read implements the method from net.Conn and first consumes the head before
using the underlying connection.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.