Documentation
¶
Index ¶
- type Fake
- func (f *Fake) IsActorHosted(ctx context.Context, actorType, actorID string) bool
- func (f *Fake) Lock(ctx context.Context) (context.Context, context.CancelFunc, error)
- func (f *Fake) LookupActor(ctx context.Context, req *api.LookupActorRequest) (*api.LookupActorResponse, error)
- func (f *Fake) Ready() bool
- func (f *Fake) Run(ctx context.Context) error
- func (f *Fake) WithIsActorHosted(fn func(context.Context, string, string) bool) *Fake
- func (f *Fake) WithLock(fn func(context.Context) (context.Context, context.CancelFunc, error)) *Fake
- func (f *Fake) WithLookupActor(...) *Fake
- func (f *Fake) WithReady(fn func() bool) *Fake
- func (f *Fake) WithRun(fn func(context.Context) error) *Fake
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
func (*Fake) IsActorHosted ¶
func (*Fake) LookupActor ¶
func (f *Fake) LookupActor(ctx context.Context, req *api.LookupActorRequest) (*api.LookupActorResponse, error)
func (*Fake) WithIsActorHosted ¶
func (*Fake) WithLookupActor ¶
func (f *Fake) WithLookupActor(fn func(context.Context, *api.LookupActorRequest) (*api.LookupActorResponse, error)) *Fake
Click to show internal directories.
Click to hide internal directories.