summaryrefslogtreecommitdiff
path: root/gui/api.md
diff options
context:
space:
mode:
Diffstat (limited to 'gui/api.md')
-rw-r--r--gui/api.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/api.md b/gui/api.md
new file mode 100644
index 0000000..eb11ec6
--- /dev/null
+++ b/gui/api.md
@@ -0,0 +1,6 @@
+# how to add an action to the api
+
+1. declare it in `handlers.h`
+2. define it in `handlers.cpp`
+3. export it in `backend.go`
+4. move to `pkg/backend/api.go` and implement what's needed from there