feat: add Password field to PomodoroClient
struct
remove unused password parameters from Client-Methods
🤖
This commit is contained in:
parent
0ca90b50a5
commit
b374ee8aff
4 changed files with 10 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue