Versions in this module Expand all Collapse all v0 v0.1.0 Jul 22, 2026 Changes in this version + func ApplyName(a Actor, name string) + func Register(bus *msgbus.MsgBus, a Actor) + type Actor interface + Handle func(ev msgbus.Event, bus *msgbus.MsgBus) + Name func() string + OnInit func(map[string]any) + OnStart func() + OnStop func() + SubscribedTypes func() []event.Topic + type ActorBase struct + func NewActorBase(name string, topics []event.Topic) ActorBase + func (a *ActorBase) Clock() *clock.Clock + func (a *ActorBase) Handle(ev msgbus.Event, bus *msgbus.MsgBus) + func (a *ActorBase) Log() *zerolog.Logger + func (a *ActorBase) Name() string + func (a *ActorBase) OnInit(config map[string]any) + func (a *ActorBase) OnStart() + func (a *ActorBase) OnStop() + func (a *ActorBase) SetClock(c *clock.Clock) + func (a *ActorBase) SetName(name string) + func (a *ActorBase) SetTopics(topics []event.Topic) + func (a *ActorBase) SubscribedTypes() []event.Topic + type Entry struct + Config map[string]any + Name string + Type string