Documentation ¶
Index ¶
- type Arguments
- type DownCallConstructorReq
- type DownCallConstructorResp
- type DownCallMethodReq
- type DownCallMethodResp
- type UpBaseReq
- type UpCallConstructorReq
- type UpCallConstructorResp
- type UpCallMethodReq
- type UpCallMethodResp
- type UpDeactivateObjectReq
- type UpDeactivateObjectResp
- type UpGetCodeReq
- type UpGetCodeResp
- type UpRespIface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments []byte
Arguments is a dedicated type for arguments, that represented as binary cbored blob
func (*Arguments) MarshalJSON ¶
MarshalJSON uncbor Arguments slice recursively
type DownCallConstructorReq ¶
type DownCallConstructorReq struct { Context *call.LogicContext Code reference.Global Name string Arguments Arguments }
DownCallConstructorReq is a set of arguments for CallConstructor RPC in the runner
type DownCallConstructorResp ¶
DownCallConstructorResp is response from CallConstructor RPC in the runner
type DownCallMethodReq ¶
type DownCallMethodReq struct { Context *call.LogicContext Code reference.Global Data []byte Method string Arguments Arguments }
todo it may use foundation.Context DownCallMethodReq is a set of arguments for CallMethod RPC in the runner
type DownCallMethodResp ¶
DownCallMethodResp is response from CallMethod RPC in the runner
type UpBaseReq ¶
type UpBaseReq struct { Mode call.Mode Callee reference.Global CalleeClass reference.Global Request reference.Global ID call.ID }
UpBaseReq is a base type for all insgorund -> logicrunner requests
type UpCallConstructorReq ¶
type UpCallConstructorReq struct { UpBaseReq Parent reference.Global Class reference.Global ConstructorName string ArgsSerialized []byte }
UpCallConstructorReq is a set of arguments for CallConstructor RPC in goplugin
type UpCallConstructorResp ¶
type UpCallConstructorResp struct {
Result Arguments
}
UpCallConstructorResp is a set of arguments for CallConstructor RPC in goplugin
type UpCallMethodReq ¶
type UpCallMethodReq struct { UpBaseReq Interference isolation.InterferenceFlag Isolation isolation.StateFlag Saga bool Object reference.Global Method string Arguments Arguments Class reference.Global }
UpCallMethodReq is a set of arguments for Send RPC in goplugin
type UpCallMethodResp ¶
type UpCallMethodResp struct {
Result Arguments
}
UpCallMethodResp is response from Send RPC in goplugin
type UpDeactivateObjectReq ¶
type UpDeactivateObjectReq struct {
UpBaseReq
}
UpDeactivateObjectReq is a set of arguments for DeactivateObject RPC in goplugin
type UpDeactivateObjectResp ¶
type UpDeactivateObjectResp struct {
Result Arguments
}
UpDeactivateObjectResp is response from DeactivateObject RPC in goplugin
type UpGetCodeReq ¶
type UpGetCodeReq struct { UpBaseReq MType machinetype.Type Code reference.Global }
UpGetCodeReq is a set of arguments for GetCode RPC in goplugin
type UpGetCodeResp ¶
type UpGetCodeResp struct {
Code []byte
}
UpGetCodeResp is response from GetCode RPC in goplugin
type UpRespIface ¶
type UpRespIface interface{}
UpRespIface interface for UpBaseReq descendant responses