mchess-server/main.go
2022-11-19 11:41:10 +01:00

19 lines
242 B
Go

package main
import (
"log"
"net/http"
"ws_server/server"
)
func main() {
http.HandleFunc("/", server.SocketHandler)
err := http.ListenAndServe("localhost:8080", nil)
if err != nil {
log.Println(err)
}
log.Println("We ended")
}