add postgress user handling support

This commit is contained in:
2026-03-10 21:26:51 +01:00
parent f8b43cc54f
commit 1a103f8173
10 changed files with 140 additions and 85 deletions
+1
View File
@@ -51,6 +51,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
func main() {
InitDatabase(context.Background())
srv := &Server{
OnOpen: func(conn *websocket.Conn) {
log.Println("client connected")