Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MethodsPuppet = struct { Constructor abi.MethodNum Send abi.MethodNum SendMarshalCBORFailuer abi.MethodNum }{builtin.MethodConstructor, 2, 3}
View Source
var PuppetActorCodeID cid.Cid
The actor code ID & Methods
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct{}
The Puppet Actor exists to aid testing the runtime and environment in which it's embedded. It provides direct access to the runtime methods, including sending arbitrary messages to other actors, without any preconditions or invariants to get in the way.
func (Actor) Constructor ¶
func (a Actor) Constructor(rt runtime.Runtime, _ *adt.EmptyValue) *adt.EmptyValue
func (Actor) Send ¶
func (a Actor) Send(rt runtime.Runtime, params *SendParams) *SendReturn
func (Actor) SendMarshalCBORFailure ¶
func (a Actor) SendMarshalCBORFailure(rt runtime.Runtime, params *SendParams) *SendReturn
type FailToMarshalCBOR ¶
type FailToMarshalCBOR struct { }
func (*FailToMarshalCBOR) MarshalCBOR ¶
func (t *FailToMarshalCBOR) MarshalCBOR(w io.Writer) error
type SendParams ¶
func (*SendParams) MarshalCBOR ¶
func (t *SendParams) MarshalCBOR(w io.Writer) error
func (*SendParams) UnmarshalCBOR ¶
func (t *SendParams) UnmarshalCBOR(r io.Reader) error
type SendReturn ¶
func (*SendReturn) MarshalCBOR ¶
func (t *SendReturn) MarshalCBOR(w io.Writer) error
func (*SendReturn) UnmarshalCBOR ¶
func (t *SendReturn) UnmarshalCBOR(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.