• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

linxGnu / gosmpp / 6914591414
82%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2023 02:45PM UTC
Jobs 1
Files 7
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2023 02:45PM UTC coverage: 86.179% (-0.5%) from 86.708%
6914591414

push

github

web-flow
OnAllPdu users are now able to return a bool to close the bind (#120)

What: 
OnAllPdu setting did not allow users to report bind closing status. This
caused an io error when users responded to a unbind request.

Why:
The change allow users to send back a bool to let the app close the
bind, if needed, like with a unbind request.

How:
The OnAllPDU is called from handleOrClose function, that has a return
value to close the bind. The OnAllPdu will also have a bool return value
and that value is forward to the handleorClose function. If the
OnCallPdu is returned with a true value, handleOrClose will initiate the
close status, like it does without the OnAllPdu setting.

This change also include some other minor changes:
- using a Callback type, to align with existing code
- no need to check if return value of OnAllPDU is nil. Its a struck, it
will never be nil and all fields will have default values
- fix manual response example to align with new return bool on OnAllPdu
call

0 of 6 new or added lines in 1 file covered. (0.0%)

424 of 492 relevant lines covered (86.18%)

31.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
78.57
-2.48% receivable.go
Jobs
ID Job ID Ran Files Coverage
1 6914591414.1 18 Nov 2023 02:45PM UTC 7
86.18
GitHub Action Run
Source Files on build 6914591414
  • Tree
  • List 7
  • Changed 4
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 93710384 on github
  • Prev Build on master (#6796058382)
  • Next Build on master (#7409898678)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc