aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-06-06 09:38:56 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-06-06 09:38:56 +0200
commitf39dfd01ab06cf92a3bcad75fcb175a8242ec1b1 (patch)
tree124bd340e15eb83743845323a1769d4d56e6fade /src/api
parent377e7ca748391bfeab28e8d399ef400b19682ed0 (diff)
Remove Server struct and replace it with single function
Diffstat (limited to 'src/api')
-rw-r--r--src/api/root.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/root.zig b/src/api/root.zig
index 5128aa1..7acd953 100644
--- a/src/api/root.zig
+++ b/src/api/root.zig
@@ -3,6 +3,11 @@
const std = @import("std");
+const http = @import("http");
+const Interface = http.handler.Interface;
+
+pub const interfaces: []const Interface = &.{};
+
test {
_ = std.testing.refAllDecls(@This());
}