Dial connects to the remote Kite. Returns error if it can't.
()
| 232 | |
| 233 | // Dial connects to the remote Kite. Returns error if it can't. |
| 234 | func (c *Client) Dial() (err error) { |
| 235 | // zero means no timeout |
| 236 | return c.DialTimeout(0) |
| 237 | } |
| 238 | |
| 239 | // DialTimeout acts like Dial but takes a timeout. |
| 240 | func (c *Client) DialTimeout(timeout time.Duration) error { |