Commit Graph

13 Commits

Author SHA1 Message Date
8fe6bc0cff chore: reformat, normalize imports 2025-08-01 20:44:38 -05:00
9b8ef545a6 refactor: websockets into 'connect' module, rename & adjust generally 2025-08-01 20:34:45 -05:00
c91c4f85c3 refactor: rename module to github.com/Xevion/go-ha 2025-08-01 17:04:11 -05:00
1226867b8e refactor: make fork independent, rename PriorityQueue 2025-08-01 16:55:44 -05:00
Matthias Loibl
02b6c413f1 Return Service errors
Additionally, removed the context that gets passed into the Services but isn't used in one of them. The websockets APIs also don't have any use for context.
2025-01-17 17:50:06 +01:00
Lubos Dolezel
f27cbfb299 Fix panics due to concurrent websocket writes 2023-02-24 11:49:26 +01:00
Sam Lewis
c8128b5dba change to vanity url saml.dev 2022-12-12 00:15:00 -05:00
Sam Lewis
8b888a2d89 set up entityListener and switch websocket library 2022-10-16 15:20:04 -04:00
Sam Lewis
b99c1e5925 Added lots of services and fixed bug with ID for websocket calls 2022-10-13 02:17:36 -04:00
Sam Lewis
4cf16d0d41 moved websocket code to websocket package 2022-10-11 22:58:44 -04:00
Sam Lewis
7bcca889f9 good progress yay:
- impl http client
- create http client in App()
- generic builder for Service.*
- set Service on app to pass to callbacks later
- impl State
- set State on app to pass to callbacks later
- change panic to log.Fatalln
2022-10-11 01:22:23 -04:00
Sam Lewis
2597711973 websocket initialization done in App 2022-10-09 23:35:01 -04:00
Sam Lewis
bdc5e9295d figured out how to get conn/ctx into users method calls - by passing a configured service object to their callback functions 2022-10-09 16:28:42 -04:00