1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package commands import ( "github.com/emersion/go-imap" ) // An IDLE command. // Se RFC 2177 section 3. type Idle struct{} func (cmd *Idle) Command() *imap.Command { return &imap.Command{Name: "IDLE"} } func (cmd *Idle) Parse(fields []interface{}) error { return nil }