mirror of
https://github.com/fosrl/newt.git
synced 2026-09-08 07:01:28 +02:00
@@ -98,6 +98,10 @@ func NewClient(clientType string, ID, secret string, endpoint string, pingInterv
|
||||
return client, nil
|
||||
}
|
||||
|
||||
func (c *Client) GetConfig() *Config {
|
||||
return c.config
|
||||
}
|
||||
|
||||
// Connect establishes the WebSocket connection
|
||||
func (c *Client) Connect() error {
|
||||
go c.connectWithRetry()
|
||||
|
||||
Reference in New Issue
Block a user