actor

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserAccount

func NewUserAccount() actor.Actor

ここでIDを渡したい。が、actor.Actorのerrorになってしまう。返却値がinterfaceだから。 あとでIDを設定すればいいのか?

Types

type CreateUserRequest

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

type GetEmailRequest

type GetEmailRequest struct{}

type UserAccount

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

Nameというfieldを持ってしまうと、MixinのNameと競合してしまい、エラーになるので注意

func (*UserAccount) Receive

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

Jump to

Keyboard shortcuts

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