File size: 411 Bytes
83a59ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"`
}