Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTimeoutError ¶
IsTimeoutError will check whether the err is a timeout error.
func URLQueryEscape ¶
URLQueryEscape escapes the original string.
func URLQueryUnescape ¶
URLQueryUnescape unescapes the escaped string.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a generic stream-oriented network connection.
func (*Conn) SetReadTimeout ¶
SetReadTimeout will set the conn's read timeout.
func (*Conn) SetWriteTimeout ¶
SetWriteTimeout will set the conn's write timeout.
type Dialer ¶
Dialer is wrapped dialer provided by qingstor go sdk.
We provide this dialer wrapper ReadTimeout & WriteTimeout attributes into connection object. This timeout is for individual buffer I/O operation like other language (python, perl... etc), so don't bother with SetDeadline or stupid nethttp.Client timeout.
Click to show internal directories.
Click to hide internal directories.