Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Config.UnidirectionalCodeToDisconnect #421

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

FZambia
Copy link
Member

@FZambia FZambia commented Nov 3, 2024

type Config struct {
    ...
    // Tell Centrifuge how to transform connect error codes to disconnect objects for unidirectional
    // transports. If not set then the default mapping is used.
    UnidirectionalCodeToDisconnect map[uint32]Disconnect
}

Copy link

codecov bot commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.27%. Comparing base (106d43f) to head (ea2832c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #421      +/-   ##
==========================================
+ Coverage   82.18%   82.27%   +0.09%     
==========================================
  Files          39       39              
  Lines        8560     8564       +4     
==========================================
+ Hits         7035     7046      +11     
+ Misses       1145     1139       -6     
+ Partials      380      379       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FZambia FZambia merged commit cfee7f3 into master Nov 3, 2024
8 checks passed
@FZambia FZambia deleted the UnidirectionalCodeToDisconnect branch November 3, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant