aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/emersion/go-imap/commands/noop.go
blob: da6a1c2e4a699a0d744ff03dc766daf780735eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}