Open imanborumand opened 3 years ago
hi i am add OnConnect to main but not call when user connect to socket please help me thanks gosf.Startup(map[string]interface{}{"port": 9999}) //log.Fatal(http.ListenAndServe(":8081", nil))
gosf.OnConnect(func(client *gosf.Client, request *gosf.Request) { log.Println("Client connected.") })
hi i am add OnConnect to main but not call when user connect to socket please help me thanks gosf.Startup(map[string]interface{}{"port": 9999}) //log.Fatal(http.ListenAndServe(":8081", nil))