Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptAttemptCount ¶
func OptAttemptCount(count int) optionFunc
func OptThreadNum ¶
func OptThreadNum(num int) optionFunc
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CheckConnection ¶
check if the server is running. if the connection time is exceed 10 seconds, return error.
Click to show internal directories.
Click to hide internal directories.