Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvocationID ¶
func NewInvocationID() string
Types ¶
type ExecutionStatus ¶
type ExecutionStatus int
const ( ExecutionError ExecutionStatus = iota ExecutionSuccess ExecutionNoLongerAbleToRun )
type Grain ¶
func (Grain) Invocation ¶
func (g Grain) Invocation(method string, data []byte) *Invocation
type GrainExecution ¶
type GrainExecution struct { GrainID string Status ExecutionStatus Result []byte Error error GrainType string }
func (*GrainExecution) IsSuccessful ¶
func (ge *GrainExecution) IsSuccessful() bool
func (*GrainExecution) String ¶
func (ge *GrainExecution) String() string
type Invocation ¶
type Invocation struct { InvocationId string GrainID string GrainType string MethodName string Data []byte Context context.Context }
func (*Invocation) GrainInfo ¶
func (i *Invocation) GrainInfo() string
type InvocationResult ¶
type InvocationResult struct { InvocationId string Data []byte Status InvocationStatus }
type InvocationStatus ¶
type InvocationStatus int
const ( InvocationSuccess InvocationStatus = iota InvocationFailure )
type ScheduleStatus ¶
type ScheduleStatus int
const ( ScheduleError ScheduleStatus = iota ScheduleSuccess )
Click to show internal directories.
Click to hide internal directories.