Sam Lewis
145c12dd25
all builders now take duration strings
2022-10-16 22:45:13 -04:00
Sam Lewis
6ca78e88dd
listeners working, sunrise/sunset working with string offset
2022-10-16 22:23:46 -04:00
Sam Lewis
8b888a2d89
set up entityListener and switch websocket library
2022-10-16 15:20:04 -04:00
Sam Lewis
2d77c4b657
schedule works! 🎉 🔥
2022-10-15 22:22:59 -04:00
Sam Lewis
e476a06aca
remove log statements
2022-10-13 02:20:28 -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
7f9e346d34
design and impl BaseServiceRequest
2022-10-12 01:14:32 -04:00
Sam Lewis
4cf16d0d41
moved websocket code to websocket package
2022-10-11 22:58:44 -04:00
Sam Lewis
b3e45f46a4
just have TimeOfDay and Duration ¯\_(ツ)_/¯
2022-10-11 09:52:58 -04:00
Sam Lewis
7c1e8faa43
change helper from TimeOfDay to Duration
2022-10-11 02:24:48 -04:00
Sam Lewis
911c3521ba
switched to time.Duration
2022-10-11 02:17:02 -04:00
Sam Lewis
44678ae762
commit before try switching to duration
2022-10-11 01:44:53 -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
689a6ce4d3
add TODOs
2022-10-10 00:21:14 -04:00
Sam Lewis
8be48be299
add TODOs
2022-10-10 00:14:20 -04:00
Sam Lewis
25a843fc7b
few things:
...
- easy comparison of hourMinute with .int()
- created Sunset/Sunrise vars of type hourMinute for easy end-user use
2022-10-10 00:11:41 -04:00
Sam Lewis
2597711973
websocket initialization done in App
2022-10-09 23:35:01 -04:00
Sam Lewis
60b80ec07f
remove person.go builder example
2022-10-09 19:22:09 -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
Sam Lewis
889d7ab993
checkin before rename
2022-10-07 20:59:04 -04:00