Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultBufferedTransportInstance ¶
type DefaultBufferedTransportInstance interface { ConnectWithContext(ctx context.Context) error GetNumBytesAvailableInBuffer() (uint32, error) FillBuffer(until func(pos uint, currentByte byte, reader transports.ExtendedReader) bool) error PeekReadableBytes(numBytes uint32) ([]byte, error) Read(numBytes uint32) ([]byte, error) }
func NewDefaultBufferedTransportInstance ¶
func NewDefaultBufferedTransportInstance(defaultBufferedTransportInstanceRequirements DefaultBufferedTransportInstanceRequirements, _options ...options.WithOption) DefaultBufferedTransportInstance
type DefaultBufferedTransportInstanceRequirements ¶
type DefaultBufferedTransportInstanceRequirements interface { GetReader() transports.ExtendedReader Connect() error IsConnected() bool }
type TransportLogger ¶
type TransportLogger struct {
// contains filtered or unexported fields
}
func NewTransportLogger ¶
func NewTransportLogger(source io.ReadWriteCloser, options ...Option) *TransportLogger
func (*TransportLogger) Close ¶
func (t *TransportLogger) Close() error
Click to show internal directories.
Click to hide internal directories.