From 5fd81183f54662fdf08549c0d635e80166c62fe9 Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Sat, 6 Dec 2025 12:05:43 +0500 Subject: initial endpoints --- Endpoints/Common.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Endpoints/Common.go (limited to 'Endpoints/Common.go') diff --git a/Endpoints/Common.go b/Endpoints/Common.go new file mode 100644 index 0000000..b30afd0 --- /dev/null +++ b/Endpoints/Common.go @@ -0,0 +1,8 @@ +package endpoints + +import "net/http" + +func RegisterEndpoints() { + http.HandleFunc("/api/getSongs", getSongs) + http.HandleFunc("/api/getSong", getSong) +} -- cgit v1.3