Skip to content

OnConnect not call #12

@imanborumand

Description

@imanborumand

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.")
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions