mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-30 02:40:33 +00:00
aaffaebe55
Refactor Twitch client and bot so it can be closed and reopened with a different config. Add a cancellation function to subscription functions so they can be cancelled. Use http.Handler instead of HandlerFunc for custom routes
7 lines
86 B
Go
7 lines
86 B
Go
package utils
|
|
|
|
type ContextKey string
|
|
|
|
const (
|
|
ContextLogger ContextKey = "logger"
|
|
)
|