initial commit

This commit is contained in:
AlexandreRouma
2025-10-31 18:38:33 -04:00
commit 140bc3c3f5
16 changed files with 1637 additions and 0 deletions

22
main.go Normal file
View File

@@ -0,0 +1,22 @@
package main
// Packages
import "log"
import "net/http"
// import "os"
func main() {
// Load the configuration from environment variables
// TODO
// Create a handler for the static website
static := http.FileServer(http.Dir("./www"))
http.Handle("/", static)
// Create a handler for the signaling backend
// http.HandleFunc("/sig", wsHandler)
// Run the server
err := http.ListenAndServe(":3000", nil)
if( err != nil) { log.Fatal(err) }
}