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

d--j / go-milter / 14385025258 / 1
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: copilot/improve-slow-code-performance
DEFAULT BRANCH: main
Ran 10 Apr 2025 04:01PM UTC
Files 27
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

10 Apr 2025 04:00PM UTC coverage: 92.343% (+0.3%) from 92.081%
14385025258.1

Pull #34

github

d--j
refactor: update Milter interface & introduce Modifier interface

BREAKING CHANGE: One Milter instance will now handle one milter connection. It must be able to handle multiple messages. To facilitate this, a new method NewConnection was added to the Milter interface.

BREAKING CHANGE: The struct Modifier was changed to an interface Modifier.
All Milter implementations need to use `m milter.Modifier` instead of `m *milter.Modifier` in their arguments.
This improves the testability of Milter implementations since you can easily create mock Modifier implementations that can be passed in to your own Milter implementations (that was not possible before)

BREAKING CHANGE: the default read timeout for Server changed from 10 seconds to 0 seconds. The 10 seconds default was actually not used - we always used 0 (no timeout) before, so this should not really be a breaking change.
Pull Request #34: refactor: update Milter interface & introduce Modifier interface

3799 of 4114 relevant lines covered (92.34%)

1091422.03 hits per line

Source Files on job 14385025258.1
  • Tree
  • List 27
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14385025258
  • 165bccc1 on github
  • Prev Job for on count-backends (#14276609401.1)
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

© 2026 Coveralls, Inc