registration

package
v0.0.0-...-670ca8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUser

func NewUser(stream *actor.PID, rmu *actor.PID) actor.Actor

func NewUserModelUpdate

func NewUserModelUpdate(query mysql.RegistrationUserExecutor) actor.Actor

NewUserModelUpdate is constructor for UserModelUpdate

Types

type User

type User struct {
	persistence.Mixin
	// contains filtered or unexported fields
}

User is an actor to create user

func (*User) IsStateExists

func (u *User) IsStateExists(email string) bool

IsStateExists is a method to check state exists or not

func (*User) Receive

func (u *User) Receive(context actor.Context)

Receive is sent messages to be processed from the mailbox associated with the instance of the actor このアクターは永続化を行うため、persistence.Mixinを埋め込む 永続化を行い、Read Model更新アクターを起動する

type UserModelUpdate

type UserModelUpdate struct {
	// contains filtered or unexported fields
}

UserModelUpdate is actor to update read model

func (*UserModelUpdate) Receive

func (u *UserModelUpdate) Receive(ctx actor.Context)

Receive is sent messages to be processed from the mailbox associated with the instance of the actor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL