getimap/vendor/github.com/emersion/go-imap/commands/noop.go

19 lines
297 B
Go
Raw Normal View History

2020-03-10 13:57:28 +01:00
package commands
import (
"github.com/emersion/go-imap"
)
// Noop is a NOOP command, as defined in RFC 3501 section 6.1.2.
type Noop struct{}
func (c *Noop) Command() *imap.Command {
return &imap.Command{
Name: "NOOP",
}
}
func (c *Noop) Parse(fields []interface{}) error {
return nil
}