refactor: rename HandleConnections to HandleConnection
- rename function to better reflect its purpose
🤖
This commit is contained in:
parent
b8823acc97
commit
d83acc77b2
2 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ func Start() {
|
|||
|
||||
listen := fmt.Sprintf("%s:%d", serverConfig.ListenAddress, serverConfig.ListenPort)
|
||||
|
||||
http.HandleFunc("/ws", websocket.HandleConnections)
|
||||
http.HandleFunc("/ws", websocket.HandleConnection)
|
||||
go websocket.SendPermanentBroadCastMessage()
|
||||
|
||||
log.Info("GoTomato started", "version", metadata.GoTomatoVersion)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue