httpsms-gateway / api /pkg /events /user_account_created_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
411 Bytes
package events
import (
"time"
"github.com/NdoleStudio/httpsms/pkg/entities"
)
// UserAccountCreated is raised when a user's account is created.
const UserAccountCreated = "user.account.created"
// UserAccountCreatedPayload stores the data for the UserAccountCreated event
type UserAccountCreatedPayload struct {
UserID entities.UserID `json:"user_id"`
Timestamp time.Time `json:"timestamp"`
}