feat: add Password field to PomodoroClient struct

remove unused password parameters from Client-Methods

🤖
This commit is contained in:
Sebastian Mark 2024-10-30 09:00:29 +01:00
parent 0ca90b50a5
commit b374ee8aff
4 changed files with 10 additions and 8 deletions

View file

@ -36,6 +36,7 @@ func Start() {
}
client := websocket.Connect(config.URL)
client.Password = config.Password
channel := make(chan GoTomato.ServerMessage)
go websocket.ProcessServerMessages(client, channel)