From 8d216ab10e6d43c44ca47ccd44fe7f3d40f1b1c3 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sat, 15 Feb 2020 14:14:46 +0100 Subject: notmuch: add internal event loop --- worker/notmuch/eventhandlers.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 worker/notmuch/eventhandlers.go (limited to 'worker/notmuch/eventhandlers.go') diff --git a/worker/notmuch/eventhandlers.go b/worker/notmuch/eventhandlers.go new file mode 100644 index 0000000..39027b6 --- /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 + } +} -- cgit 1.4.1-2-gfad0