httpsms-gateway / api /pkg /events /user_account_deleted_event.go
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca
Raw History Blame Contribute Delete
458 Bytes
package events
import (
"time"
"github.com/NdoleStudio/httpsms/pkg/entities"
)
// UserAccountDeleted is raised when a user's account is deleted.
const UserAccountDeleted = "user.account.deleted"
// UserAccountDeletedPayload stores the data for the UserAccountDeleted event
type UserAccountDeletedPayload struct {
UserID entities.UserID `json:"user_id"`
UserEmail string `json:"user_email"`
Timestamp time.Time `json:"timestamp"`
}