Skip to content

Commit

Permalink
server: embed Session in LMTPSession
Browse files Browse the repository at this point in the history
Makes it clearer that a full Session implementation is required
for LMTP.
  • Loading branch information
emersion committed Nov 9, 2023
1 parent d62ec8c commit d506ef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ type Session interface {
// LMTPSession is an add-on interface for Session. It can be implemented by
// LMTP servers to provide extra functionality.
type LMTPSession interface {
Session

// LMTPData is the LMTP-specific version of Data method.
// It can be optionally implemented by the backend to provide
// per-recipient status information when it is used over LMTP
Expand Down

0 comments on commit d506ef1

Please sign in to comment.