Files
DiunDashboard/pkg/diunwebhook/export_test.go
2026-02-23 21:12:39 +01:00

13 lines
205 B
Go

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)
}