Implement Reset on SessionLocal
This commit is contained in:
parent
2c484d44a7
commit
d290ec1c22
@ -107,7 +107,10 @@ func (s *SessionLocal) Data(r io.Reader) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *SessionLocal) Reset() {}
|
func (s *SessionLocal) Reset() {
|
||||||
|
s.rcpt = s.rcpt[:0]
|
||||||
|
s.from = ""
|
||||||
|
}
|
||||||
|
|
||||||
func (s *SessionLocal) Logout() error {
|
func (s *SessionLocal) Logout() error {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user