Add get config

This commit is contained in:
Owen
2025-07-24 12:40:14 -07:00
parent 64c22a94a4
commit 008be54c55

View File

@@ -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()