diff --git a/main.go b/main.go index 081ab4c..69b8105 100644 --- a/main.go +++ b/main.go @@ -141,7 +141,7 @@ func (c *Client) Receive() ([]RawMessage, error) { return messages, nil } -func (c *Client) handshakeLoop(password string) error { +func (c *Client) HandshakeLoop(password string) error { log.Println("sending server info request") err := c.SendPlain(ReqServerInfo, nil, nil, nil) if err != nil {