Refactor project structure: enhance tests, improve server shutdown, expand CI checks, and update UI for better event presentation.
Some checks failed
CI / build-test (push) Failing after 4s
CI / docker (push) Has been skipped

This commit is contained in:
2026-02-23 21:12:39 +01:00
parent d38a0e7044
commit e4f32132e3
7 changed files with 153 additions and 28 deletions

View File

@@ -0,0 +1,12 @@
package diunwebhook
func GetUpdatesMap() map[string]DiunEvent {
mu.Lock()
defer mu.Unlock()
return updates
}
func UpdatesReset() {
mu.Lock()
defer mu.Unlock()
updates = make(map[string]DiunEvent)
}