actors

package
v2.0.0-...-d30d9ec Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountEntity

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

AccountEntity represents the immutable implementation of Actor

func (*AccountEntity) PostStop

func (p *AccountEntity) PostStop(context.Context) error

PostStop is used to free-up resources when the actor stops

func (*AccountEntity) PreStart

func (p *AccountEntity) PreStart(context.Context) error

PreStart is used to pre-set initial values for the actor

func (*AccountEntity) Receive

func (p *AccountEntity) Receive(ctx *goakt.ReceiveContext)

Receive handles the messages sent to the actor

Jump to

Keyboard shortcuts

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