diff options
Diffstat (limited to 'src/guff/api/site.cr')
-rw-r--r-- | src/guff/api/site.cr | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/guff/api/site.cr b/src/guff/api/site.cr new file mode 100644 index 0000000..b99f550 --- /dev/null +++ b/src/guff/api/site.cr @@ -0,0 +1,39 @@ +require "json" + +module Guff + module API + module SiteAPI + private def do_site_add_site( + context : HTTP::Server::Context, + args : Hash(String, String) + ) + # TODO + {ok: true}.to_json + end + + private def do_site_remove_sites( + context : HTTP::Server::Context, + args : Hash(String, String) + ) + # TODO + {ok: true}.to_json + end + + private def do_site_set_default( + context : HTTP::Server::Context, + args : Hash(String, String) + ) + # TODO + {ok: true}.to_json + end + + private def do_site_set_domains( + context : HTTP::Server::Context, + args : Hash(String, String) + ) + # TODO + {ok: true}.to_json + end + end + end +end |