package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

CanonicalMIMEHeaderKey returns the canonical format of the MIME header key s.
Dial connects to the given address on the given network using net.Dial and then returns a new Conn for the connection.
NewConn returns a new Conn using conn for I/O.
NewReader returns a new Reader reading from r.
NewWriter returns a new Writer writing to w.
TrimBytes returns b without leading and trailing ASCII space.
TrimString returns s without leading and trailing ASCII space.

# Structs

A Conn represents a textual network protocol connection.
An Error represents a numeric error response from a server.
A Pipeline manages a pipelined in-order request/response sequence.
A Reader implements convenience methods for reading requests or responses from a text protocol network connection.
A Writer implements convenience methods for writing requests or responses to a text protocol network connection.

# Type aliases

A MIMEHeader represents a MIME-style header mapping keys to sets of values.
A ProtocolError describes a protocol violation such as an invalid response or a hung-up connection.