deepgram / deepgram-go-sdk

Go SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
31 stars 27 forks source link

Fix Open/Close Event Pairing After Fatal Reconnect Refactor #233

Closed dvonthenen closed 3 months ago

dvonthenen commented 3 months ago

Proposed changes

This fixes an issue with the last PR https://github.com/deepgram/deepgram-go-sdk/pull/232 which even OpenResponse didn't have a corresponding CloseResponse.

This also fixes:

Types of changes

What types of changes does your code introduce to the community Go SDK? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

NA