Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorHostOptions ¶
type ActorTypeFactory ¶
type ActorTypeFactory struct {
Type string
Reentrancy config.ReentrancyConfig
Factory targets.Factory
}
type Interface ¶
type Interface interface {
io.Closer
Types() []string
IsActorTypeHosted(actorType string) bool
GetOrCreate(actorType, actorID string) (targets.Interface, error)
ActorExists(actorType, actorKey string) bool
RegisterActorTypes(opts RegisterActorTypeOptions)
UnRegisterActorTypes(actorTypes ...string) error
SubscribeToTypeUpdates(ctx context.Context) (<-chan []string, []string)
HaltAll(ctx context.Context) error
HaltNonHosted(ctx context.Context) error
Len() map[string]int
}
type Options ¶
type Options struct {
ReentrancyStore *reentrancystore.Store
}
type RegisterActorTypeOptions ¶
type RegisterActorTypeOptions struct {
HostOptions *ActorHostOptions
Factories []ActorTypeFactory
}
Click to show internal directories.
Click to hide internal directories.