Update 'main.go'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jake Walker 2022-08-03 18:57:05 +00:00
parent a258da3678
commit 357282c0e4

View file

@ -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 {