diff options
Diffstat (limited to 'Endpoints/Common.go')
| -rw-r--r-- | Endpoints/Common.go | 8 |
1 files changed, 8 insertions, 0 deletions
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) +} |
