Add get config

Former-commit-id: 008be54c55
This commit is contained in:
Owen
2025-07-24 12:40:14 -07:00
parent b2724a704c
commit 9e595765f0

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