Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_actor_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CancelFunc ¶
type CancelFunc func()
type Cluster ¶
func NewCluster ¶
func (*Cluster) SpawnActor ¶
func (c *Cluster) SpawnActor(actor Actor, opt ...SpawnOption) (Process, error)
type Node ¶
func (*Node) SpawnActor ¶
func (n *Node) SpawnActor(actor Actor, opt ...SpawnOption) (Process, error)
type SpawnOption ¶
type SpawnOption func(opts *core.SpawnOptions)
func Name ¶
func Name(name string) SpawnOption
type Started ¶
type Started struct {
// contains filtered or unexported fields
}
func (*Started) Descriptor
deprecated
func (*Started) ProtoMessage ¶
func (*Started) ProtoMessage()
func (*Started) ProtoReflect ¶
func (x *Started) ProtoReflect() protoreflect.Message
type Stop ¶
type Stop struct {
// contains filtered or unexported fields
}
func (*Stop) Descriptor
deprecated
func (*Stop) ProtoMessage ¶
func (*Stop) ProtoMessage()
func (*Stop) ProtoReflect ¶
func (x *Stop) ProtoReflect() protoreflect.Message
type Stopped ¶
type Stopped struct {
// contains filtered or unexported fields
}
func (*Stopped) Descriptor
deprecated
func (*Stopped) ProtoMessage ¶
func (*Stopped) ProtoMessage()
func (*Stopped) ProtoReflect ¶
func (x *Stopped) ProtoReflect() protoreflect.Message
type Stopping ¶
type Stopping struct {
// contains filtered or unexported fields
}
func (*Stopping) Descriptor
deprecated
func (*Stopping) ProtoMessage ¶
func (*Stopping) ProtoMessage()
func (*Stopping) ProtoReflect ¶
func (x *Stopping) ProtoReflect() protoreflect.Message
type TimerScheduler ¶
type TimerScheduler struct {
// contains filtered or unexported fields
}
func NewTimerScheduler ¶
func NewTimerScheduler(process Process) *TimerScheduler
func (*TimerScheduler) SendOnce ¶
func (s *TimerScheduler) SendOnce(to PID, message interface{}, delay time.Duration) CancelFunc
func (*TimerScheduler) SendRepeatedly ¶
func (s *TimerScheduler) SendRepeatedly(to PID, message interface{}, interval time.Duration) CancelFunc
Click to show internal directories.
Click to hide internal directories.