encapsulate object storage service operations

This commit is contained in:
2025-01-17 18:42:36 +08:00
parent e31f95b943
commit eab806fb9b
78 changed files with 4178 additions and 5275 deletions

View File

@@ -0,0 +1,13 @@
package events
import (
"fmt"
)
func LogHandler(event Event) {
fmt.Printf("[LOG] Event: %s, Data: %+v\n", event.Name, event.Data)
}
func NotifyHandler(event Event) {
fmt.Printf("[NOTIFY] User notified about event: %s\n", event.Name)
}