Documentation ¶
Index ¶
- func AnySessionStarted() events.Event
- func AnySessionTerminated() events.Event
- func AnyUserActivated() events.Event
- func AnyUserDisabled() events.Event
- func AnyUserRegistered() events.Event
- func SessionTerminated(session *ent.Session) events.Event
- func UserActivated(user *ent.User) events.Event
- func UserDisabled(user *ent.User) events.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnySessionStarted ¶
AnySessionStarted is emitted when any session has been started.
func AnySessionTerminated ¶
AnySessionTerminated is emitted when any session has been terminated.
func AnyUserActivated ¶
AnyUserActivated should be emitted whenever any User is activated. The messages will contain the ent.User that was activated as the body.
func AnyUserDisabled ¶
AnyUserDisabled should be emitted whenever any User is disabled. The message will contain the ent.User that was disabled as the body.
func AnyUserRegistered ¶
AnyUserRegistered should be emitted whenever a User first registers for Response. The message will contain the ent.User that registered as the body.
func SessionTerminated ¶
SessionTerminated is emitted when a specific session is terminated.
func UserActivated ¶
UserActivated should be emitted whenever the User is activated. This should only ever be emitted once and will never be emitted again unless the user is deactivated and then reactivated. The messages will contain the ent.User that was activated as the body.
Types ¶
This section is empty.