Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorHostOptions ¶
type ActorTypeFactory ¶
type Interface ¶
type Interface interface { io.Closer Types() []string IsActorTypeHosted(actorType string) bool HostedTarget(actorType, actorKey string) (targets.Interface, bool) GetOrCreate(actorType, actorID string) (targets.Interface, bool, error) RegisterActorTypes(opts RegisterActorTypeOptions) UnRegisterActorTypes(actorTypes ...string) error SubscribeToTypeUpdates(ctx context.Context) (<-chan []string, []string) HaltAll() error Halt(ctx context.Context, target targets.Idlable) error Drain(fn func(actorType, actorID string) bool) Len() map[string]int }
type RegisterActorTypeOptions ¶
type RegisterActorTypeOptions struct { HostOptions *ActorHostOptions Factories []ActorTypeFactory }
Click to show internal directories.
Click to hide internal directories.