(username string)
| 225 | } |
| 226 | |
| 227 | func (c *Client) SetUsername(username string) { |
| 228 | c.muProt.Lock() |
| 229 | c.Kite.Username = username |
| 230 | c.muProt.Unlock() |
| 231 | } |
| 232 | |
| 233 | // Dial connects to the remote Kite. Returns error if it can't. |
| 234 | func (c *Client) Dial() (err error) { |