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

feat: Add dead callback for conn #1383

Merged
merged 1 commit into from
May 20, 2024
Merged

feat: Add dead callback for conn #1383

merged 1 commit into from
May 20, 2024

Conversation

KoNekoD
Copy link
Contributor

@KoNekoD KoNekoD commented May 20, 2024

In thit PR OnDead callback has been added, its invoked on Connection failure

Just provide in telegram options this callback and it works

Copy link

codecov bot commented May 20, 2024

Codecov Report

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

Project coverage is 70.99%. Comparing base (b777b73) to head (1a7623f).
Report is 74 commits behind head on main.

Files Patch % Lines
telegram/internal/manager/conn.go 0.00% 1 Missing and 1 partial ⚠️
telegram/pool.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1383      +/-   ##
==========================================
- Coverage   71.15%   70.99%   -0.16%     
==========================================
  Files         441      442       +1     
  Lines       17683    17722      +39     
==========================================
  Hits        12582    12582              
- Misses       4168     4203      +35     
- Partials      933      937       +4     

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

@ernado ernado merged commit 1bf78b6 into gotd:main May 20, 2024
12 of 14 checks passed
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.

2 participants