Documentation ¶
Overview ¶
Package invoker defines the interface for invoking remote actors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invoker ¶
type Invoker interface { // Invoke performs the request and returns the result value or error. Invoke(request *Request) (variant.Assignable, *actionerror.Error) }
Invoker can invoke remote actors.
type Request ¶
type Request struct { ActorType string ActorId []string ActionName string Parameters []any Lazy bool }
Request contains the fields for invoking a remote action.
type Response ¶
type Response struct { Error variant.Assignable Value variant.Assignable }
Response contains the results of invoking a remote action.
Click to show internal directories.
Click to hide internal directories.