feat: rename frontend.Handler
to frontend.UpdateLoop
for clarity
🤖
This commit is contained in:
parent
0f8fde3143
commit
a03d27ae0f
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
)
|
||||
|
||||
func Handler(conn *websocket.Conn, config ChronoTomato.Config, channel <-chan GoTomato.ServerMessage) {
|
||||
func UpdateLoop(conn *websocket.Conn, config ChronoTomato.Config, channel <-chan GoTomato.ServerMessage) {
|
||||
var message GoTomato.ServerMessage
|
||||
|
||||
keyhandler_quit := make(chan bool, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue