aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/eventhandlers.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-02-15 14:14:46 +0100
committerDrew DeVault <sir@cmpwn.com>2020-02-16 10:41:18 -0500
commit8d216ab10e6d43c44ca47ccd44fe7f3d40f1b1c3 (patch)
tree55578fddf1bebe250a4204d2568a7e9066ae261f /worker/notmuch/eventhandlers.go
parentbb09694f07a1ff281be0e14a07b6576c9949442f (diff)
downloadaerc-8d216ab10e6d43c44ca47ccd44fe7f3d40f1b1c3.tar.gz
notmuch: add internal event loop
Diffstat (limited to 'worker/notmuch/eventhandlers.go')
-rw-r--r--worker/notmuch/eventhandlers.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/worker/notmuch/eventhandlers.go b/worker/notmuch/eventhandlers.go
new file mode 100644
index 00000000..39027b6a
--- /dev/null
+++ b/worker/notmuch/eventhandlers.go
@@ -0,0 +1,9 @@
+package notmuch
+
+func (w *worker) handleNotmuchEvent(et eventType) error {
+ switch ev := et.(type) {
+ default:
+ _ = ev
+ return errUnsupported
+ }
+}