Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHTTP3GetAddr = fmt.Errorf("HTTP3 get addr fail")
View Source
var ErrHTTP3NotSupported = fmt.Errorf("HTTP3 not supported")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
RoundTripper *http3.RoundTripper
}
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is client/server symmetric connection. It implements the io.Reader/io.Writer/io.Closer to read/write or close the connection to the other side. It also has a Send/Recv function to use channels to communicate with the other side.
func (*Conn) RemoteAddr ¶
RemoteAddr returns the remote network address.
Click to show internal directories.
Click to hide internal directories.