summaryrefslogtreecommitdiff
path: root/gui/api.md
blob: eb11ec6a43fb4f7a9c61b2085b5732da8afb025d (plain)
1
2
3
4
5
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