aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/commando.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-23 20:48:17 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-23 20:48:17 +0200
commitc883470c2ef977b8675b12428591bb003694e235 (patch)
tree09cd8fa950594e1ea13aa52492ce8116e07ef30b /internal/imap/commando.go
parent6bd87a567ef481b922f6baec2b475ec376c45443 (diff)
downloadfeed2imap-go-c883470c2ef977b8675b12428591bb003694e235.tar.gz
feed2imap-go-c883470c2ef977b8675b12428591bb003694e235.tar.bz2
feed2imap-go-c883470c2ef977b8675b12428591bb003694e235.zip
Restructure imap pkg
Diffstat (limited to '')
-rw-r--r--internal/imap/commando.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/internal/imap/commando.go b/internal/imap/commando.go
index 171a507..1cf688e 100644
--- a/internal/imap/commando.go
+++ b/internal/imap/commando.go
@@ -17,23 +17,6 @@ type execution struct {
done chan<- error
}
-type addCommando struct {
- folder Folder
- messages []string
-}
-
-func (cmd addCommando) execute(conn *connection) error {
- return conn.putMessages(cmd.folder, cmd.messages)
-}
-
-type ensureCommando struct {
- folder Folder
-}
-
-func (cmd ensureCommando) execute(conn *connection) error {
- return conn.ensureFolder(cmd.folder)
-}
-
func (commander *commander) execute(command command) error {
done := make(chan error)
commander.pipe <- execution{command, done}
2007-05-08Update to libgit 1.5.2-rc2Lars Hjemli9-837/+50 2007-02-21Layout updateLars Hjemli9-32/+127 2007-02-08Make snapshot feature configurableLars Hjemli5-6/+22 2007-02-08Add support for snapshotsLars Hjemli8-8/+153 2007-02-05cgit v0.2v0.2Lars Hjemli1-1/+1 2007-02-05Add support for prefix and gitsrc arguments to 'make'Lars Hjemli2-15/+37 2007-02-04Update cgitrc templateLars Hjemli1-21/+32 2007-02-04Add support for lightweight tagsLars Hjemli2-19/+37 2007-02-04Read repo-info from /etc/cgitrcLars Hjemli5-55/+120 2007-02-04Do not die if tag has no messageLars Hjemli1-2/+2 2007-02-03Fix search for non-virtual urlsLars Hjemli1-0/+6 2007-01-28Update README with install/config informationLars Hjemli1-24/+28