conn

package
v0.0.0-...-d1f544e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeadlineConn

func NewDeadlineConn(conn net.Conn, timeout time.Duration) net.Conn

Types

type BufferedConn

type BufferedConn interface {
	net.Conn
	ReadByte() (byte, error)
	ReadBytes(delim byte) ([]byte, error)
	Flush() error
}

func NewBufferedConn

func NewBufferedConn(conn net.Conn) BufferedConn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL