This commit is contained in:
eson
2023-09-04 17:45:58 +08:00
parent 19b10262b1
commit 0a8c323be5
6 changed files with 17 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ type EventType string
const (
UserEmailRegister EventType = "E_USER_EMAIL_REGISTER" // 用户注册
UserResetToken EventType = "E_USER_RESET_TOKEN" // 用户重置密码成功通知
)
// WebsocketEvent 所有事件都必须继承这个结构体