mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-28 23:20:10 +02:00
19 lines
309 B
Go
19 lines
309 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/emersion/go-imap"
|
|
)
|
|
|
|
// Logout is a LOGOUT command, as defined in RFC 3501 section 6.1.3.
|
|
type Logout struct{}
|
|
|
|
func (c *Logout) Command() *imap.Command {
|
|
return &imap.Command{
|
|
Name: "LOGOUT",
|
|
}
|
|
}
|
|
|
|
func (c *Logout) Parse(fields []interface{}) error {
|
|
return nil
|
|
}
|