File: idle.go

package info (click to toggle)
golang-github-emersion-go-imap 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (2)
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
}