Documentation ¶
Index ¶
- type Imposter
- func (a *Imposter) PrepareExecutionAbort(ctx smachine.ExecutionContext, state runner.RunState) smachine.AsyncCallRequester
- func (a *Imposter) PrepareExecutionClassify(ctx smachine.ExecutionContext, execution execution.Context, ...) smachine.AsyncCallRequester
- func (a *Imposter) PrepareExecutionContinue(ctx smachine.ExecutionContext, state runner.RunState, ...) smachine.AsyncCallRequester
- func (a *Imposter) PrepareExecutionStart(ctx smachine.ExecutionContext, execution execution.Context, ...) smachine.AsyncCallRequester
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Imposter ¶
type Imposter struct {
// contains filtered or unexported fields
}
func NewImposter ¶
func (*Imposter) PrepareExecutionAbort ¶
func (a *Imposter) PrepareExecutionAbort(ctx smachine.ExecutionContext, state runner.RunState) smachine.AsyncCallRequester
func (*Imposter) PrepareExecutionClassify ¶
func (a *Imposter) PrepareExecutionClassify(ctx smachine.ExecutionContext, execution execution.Context, fn func(contract.MethodIsolation, error)) smachine.AsyncCallRequester
func (*Imposter) PrepareExecutionContinue ¶
func (a *Imposter) PrepareExecutionContinue(ctx smachine.ExecutionContext, state runner.RunState, outgoingResult requestresult.OutgoingExecutionResult, fn func()) smachine.AsyncCallRequester
func (*Imposter) PrepareExecutionStart ¶
func (a *Imposter) PrepareExecutionStart(ctx smachine.ExecutionContext, execution execution.Context, fn func(runner.RunState)) smachine.AsyncCallRequester
type Service ¶
type Service interface { ExecutionStart(execution execution.Context) runner.RunState ExecutionContinue(run runner.RunState, outgoingResult requestresult.OutgoingExecutionResult) ExecutionAbort(run runner.RunState) ExecutionClassify(execution execution.Context) (contract.MethodIsolation, error) }
Click to show internal directories.
Click to hide internal directories.