ksysoev / wasabi

Toolkit for Creating WebSocket API Gateways
MIT License
5 stars 2 forks source link

Implements logic for graceful closing connections #7

Closed ksysoev closed 5 months ago

ksysoev commented 5 months ago

Addressing issue #3 by adding method Close to connection interface. Close implements graceful termination of the connections, in future this method can be used for graceful shutdown functionality as well

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 78.78788% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 86.98%. Comparing base (734e8b4) to head (89d7f84).

Files Patch % Lines
channel/connection.go 78.78% 4 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7 +/- ## ========================================== - Coverage 87.02% 86.98% -0.05% ========================================== Files 16 16 Lines 478 507 +29 ========================================== + Hits 416 441 +25 - Misses 50 53 +3 - Partials 12 13 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.