summaryrefslogtreecommitdiff
path: root/internal/api/api.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-02-27 22:57:50 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-02-27 22:57:50 +0100
commitfbf52fe84be071e90ea81e5f7951da2a1ece0dbf (patch)
treed2ebbef9a06a9b978c80fccfdc63deb99fb64db1 /internal/api/api.go
parentfirst commit (diff)
downloadgotosocial-fbf52fe84be071e90ea81e5f7951da2a1ece0dbf.tar.xz
messing around a bit
Diffstat (limited to 'internal/api/api.go')
-rw-r--r--internal/api/api.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/api/api.go b/internal/api/api.go
new file mode 100644
index 000000000..1c233705f
--- /dev/null
+++ b/internal/api/api.go
@@ -0,0 +1,11 @@
+package api
+
+// API is the API exposed to the outside world for access by front-ends; this is distinct from the federation API
+type API interface {
+
+}
+
+// api implements Api interface
+type api struct {
+
+}