Documentation ¶
Index ¶
- Constants
- type Accept
- func (s Accept) Embargo() bool
- func (s Accept) HasProvision() bool
- func (s Accept) Provision() (capnp.Pointer, error)
- func (s Accept) ProvisionPtr() (capnp.Ptr, error)
- func (s Accept) QuestionId() uint32
- func (s Accept) SetEmbargo(v bool)
- func (s Accept) SetProvision(v capnp.Pointer) error
- func (s Accept) SetProvisionPtr(v capnp.Ptr) error
- func (s Accept) SetQuestionId(v uint32)
- func (s Accept) String() string
- type Accept_List
- type Accept_Promise
- type Bootstrap
- func (s Bootstrap) DeprecatedObjectId() (capnp.Pointer, error)
- func (s Bootstrap) DeprecatedObjectIdPtr() (capnp.Ptr, error)
- func (s Bootstrap) HasDeprecatedObjectId() bool
- func (s Bootstrap) QuestionId() uint32
- func (s Bootstrap) SetDeprecatedObjectId(v capnp.Pointer) error
- func (s Bootstrap) SetDeprecatedObjectIdPtr(v capnp.Ptr) error
- func (s Bootstrap) SetQuestionId(v uint32)
- func (s Bootstrap) String() string
- type Bootstrap_List
- type Bootstrap_Promise
- type Call
- func (s Call) AllowThirdPartyTailCall() bool
- func (s Call) HasParams() bool
- func (s Call) HasTarget() bool
- func (s Call) InterfaceId() uint64
- func (s Call) MethodId() uint16
- func (s Call) NewParams() (Payload, error)
- func (s Call) NewTarget() (MessageTarget, error)
- func (s Call) Params() (Payload, error)
- func (s Call) QuestionId() uint32
- func (s Call) SendResultsTo() Call_sendResultsTo
- func (s Call) SetAllowThirdPartyTailCall(v bool)
- func (s Call) SetInterfaceId(v uint64)
- func (s Call) SetMethodId(v uint16)
- func (s Call) SetParams(v Payload) error
- func (s Call) SetQuestionId(v uint32)
- func (s Call) SetTarget(v MessageTarget) error
- func (s Call) String() string
- func (s Call) Target() (MessageTarget, error)
- type Call_List
- type Call_Promise
- type Call_sendResultsTo
- func (s Call_sendResultsTo) HasThirdParty() bool
- func (s Call_sendResultsTo) SetCaller()
- func (s Call_sendResultsTo) SetThirdParty(v capnp.Pointer) error
- func (s Call_sendResultsTo) SetThirdPartyPtr(v capnp.Ptr) error
- func (s Call_sendResultsTo) SetYourself()
- func (s Call_sendResultsTo) ThirdParty() (capnp.Pointer, error)
- func (s Call_sendResultsTo) ThirdPartyPtr() (capnp.Ptr, error)
- func (s Call_sendResultsTo) Which() Call_sendResultsTo_Which
- type Call_sendResultsTo_Promise
- type Call_sendResultsTo_Which
- type CapDescriptor
- func (s CapDescriptor) HasReceiverAnswer() bool
- func (s CapDescriptor) HasThirdPartyHosted() bool
- func (s CapDescriptor) NewReceiverAnswer() (PromisedAnswer, error)
- func (s CapDescriptor) NewThirdPartyHosted() (ThirdPartyCapDescriptor, error)
- func (s CapDescriptor) ReceiverAnswer() (PromisedAnswer, error)
- func (s CapDescriptor) ReceiverHosted() uint32
- func (s CapDescriptor) SenderHosted() uint32
- func (s CapDescriptor) SenderPromise() uint32
- func (s CapDescriptor) SetNone()
- func (s CapDescriptor) SetReceiverAnswer(v PromisedAnswer) error
- func (s CapDescriptor) SetReceiverHosted(v uint32)
- func (s CapDescriptor) SetSenderHosted(v uint32)
- func (s CapDescriptor) SetSenderPromise(v uint32)
- func (s CapDescriptor) SetThirdPartyHosted(v ThirdPartyCapDescriptor) error
- func (s CapDescriptor) String() string
- func (s CapDescriptor) ThirdPartyHosted() (ThirdPartyCapDescriptor, error)
- func (s CapDescriptor) Which() CapDescriptor_Which
- type CapDescriptor_List
- type CapDescriptor_Promise
- type CapDescriptor_Which
- type Disembargo
- type Disembargo_List
- type Disembargo_Promise
- type Disembargo_context
- func (s Disembargo_context) Provide() uint32
- func (s Disembargo_context) ReceiverLoopback() uint32
- func (s Disembargo_context) SenderLoopback() uint32
- func (s Disembargo_context) SetAccept()
- func (s Disembargo_context) SetProvide(v uint32)
- func (s Disembargo_context) SetReceiverLoopback(v uint32)
- func (s Disembargo_context) SetSenderLoopback(v uint32)
- func (s Disembargo_context) Which() Disembargo_context_Which
- type Disembargo_context_Promise
- type Disembargo_context_Which
- type Exception
- func (s Exception) HasReason() bool
- func (s Exception) ObsoleteDurability() uint16
- func (s Exception) ObsoleteIsCallersFault() bool
- func (s Exception) Reason() (string, error)
- func (s Exception) ReasonBytes() ([]byte, error)
- func (s Exception) SetObsoleteDurability(v uint16)
- func (s Exception) SetObsoleteIsCallersFault(v bool)
- func (s Exception) SetReason(v string) error
- func (s Exception) SetType(v Exception_Type)
- func (s Exception) String() string
- func (s Exception) Type() Exception_Type
- type Exception_List
- type Exception_Promise
- type Exception_Type
- type Exception_Type_List
- type Finish
- type Finish_List
- type Finish_Promise
- type Join
- func (s Join) HasKeyPart() bool
- func (s Join) HasTarget() bool
- func (s Join) KeyPart() (capnp.Pointer, error)
- func (s Join) KeyPartPtr() (capnp.Ptr, error)
- func (s Join) NewTarget() (MessageTarget, error)
- func (s Join) QuestionId() uint32
- func (s Join) SetKeyPart(v capnp.Pointer) error
- func (s Join) SetKeyPartPtr(v capnp.Ptr) error
- func (s Join) SetQuestionId(v uint32)
- func (s Join) SetTarget(v MessageTarget) error
- func (s Join) String() string
- func (s Join) Target() (MessageTarget, error)
- type Join_List
- type Join_Promise
- type Message
- func (s Message) Abort() (Exception, error)
- func (s Message) Accept() (Accept, error)
- func (s Message) Bootstrap() (Bootstrap, error)
- func (s Message) Call() (Call, error)
- func (s Message) Disembargo() (Disembargo, error)
- func (s Message) Finish() (Finish, error)
- func (s Message) HasAbort() bool
- func (s Message) HasAccept() bool
- func (s Message) HasBootstrap() bool
- func (s Message) HasCall() bool
- func (s Message) HasDisembargo() bool
- func (s Message) HasFinish() bool
- func (s Message) HasJoin() bool
- func (s Message) HasObsoleteDelete() bool
- func (s Message) HasObsoleteSave() bool
- func (s Message) HasProvide() bool
- func (s Message) HasRelease() bool
- func (s Message) HasResolve() bool
- func (s Message) HasReturn() bool
- func (s Message) HasUnimplemented() bool
- func (s Message) Join() (Join, error)
- func (s Message) NewAbort() (Exception, error)
- func (s Message) NewAccept() (Accept, error)
- func (s Message) NewBootstrap() (Bootstrap, error)
- func (s Message) NewCall() (Call, error)
- func (s Message) NewDisembargo() (Disembargo, error)
- func (s Message) NewFinish() (Finish, error)
- func (s Message) NewJoin() (Join, error)
- func (s Message) NewProvide() (Provide, error)
- func (s Message) NewRelease() (Release, error)
- func (s Message) NewResolve() (Resolve, error)
- func (s Message) NewReturn() (Return, error)
- func (s Message) NewUnimplemented() (Message, error)
- func (s Message) ObsoleteDelete() (capnp.Pointer, error)
- func (s Message) ObsoleteDeletePtr() (capnp.Ptr, error)
- func (s Message) ObsoleteSave() (capnp.Pointer, error)
- func (s Message) ObsoleteSavePtr() (capnp.Ptr, error)
- func (s Message) Provide() (Provide, error)
- func (s Message) Release() (Release, error)
- func (s Message) Resolve() (Resolve, error)
- func (s Message) Return() (Return, error)
- func (s Message) SetAbort(v Exception) error
- func (s Message) SetAccept(v Accept) error
- func (s Message) SetBootstrap(v Bootstrap) error
- func (s Message) SetCall(v Call) error
- func (s Message) SetDisembargo(v Disembargo) error
- func (s Message) SetFinish(v Finish) error
- func (s Message) SetJoin(v Join) error
- func (s Message) SetObsoleteDelete(v capnp.Pointer) error
- func (s Message) SetObsoleteDeletePtr(v capnp.Ptr) error
- func (s Message) SetObsoleteSave(v capnp.Pointer) error
- func (s Message) SetObsoleteSavePtr(v capnp.Ptr) error
- func (s Message) SetProvide(v Provide) error
- func (s Message) SetRelease(v Release) error
- func (s Message) SetResolve(v Resolve) error
- func (s Message) SetReturn(v Return) error
- func (s Message) SetUnimplemented(v Message) error
- func (s Message) String() string
- func (s Message) Unimplemented() (Message, error)
- func (s Message) Which() Message_Which
- type MessageTarget
- func (s MessageTarget) HasPromisedAnswer() bool
- func (s MessageTarget) ImportedCap() uint32
- func (s MessageTarget) NewPromisedAnswer() (PromisedAnswer, error)
- func (s MessageTarget) PromisedAnswer() (PromisedAnswer, error)
- func (s MessageTarget) SetImportedCap(v uint32)
- func (s MessageTarget) SetPromisedAnswer(v PromisedAnswer) error
- func (s MessageTarget) String() string
- func (s MessageTarget) Which() MessageTarget_Which
- type MessageTarget_List
- type MessageTarget_Promise
- type MessageTarget_Which
- type Message_List
- type Message_Promise
- func (p Message_Promise) Abort() Exception_Promise
- func (p Message_Promise) Accept() Accept_Promise
- func (p Message_Promise) Bootstrap() Bootstrap_Promise
- func (p Message_Promise) Call() Call_Promise
- func (p Message_Promise) Disembargo() Disembargo_Promise
- func (p Message_Promise) Finish() Finish_Promise
- func (p Message_Promise) Join() Join_Promise
- func (p Message_Promise) ObsoleteDelete() *capnp.Pipeline
- func (p Message_Promise) ObsoleteSave() *capnp.Pipeline
- func (p Message_Promise) Provide() Provide_Promise
- func (p Message_Promise) Release() Release_Promise
- func (p Message_Promise) Resolve() Resolve_Promise
- func (p Message_Promise) Return() Return_Promise
- func (p Message_Promise) Struct() (Message, error)
- func (p Message_Promise) Unimplemented() Message_Promise
- type Message_Which
- type Payload
- func (s Payload) CapTable() (CapDescriptor_List, error)
- func (s Payload) Content() (capnp.Pointer, error)
- func (s Payload) ContentPtr() (capnp.Ptr, error)
- func (s Payload) HasCapTable() bool
- func (s Payload) HasContent() bool
- func (s Payload) NewCapTable(n int32) (CapDescriptor_List, error)
- func (s Payload) SetCapTable(v CapDescriptor_List) error
- func (s Payload) SetContent(v capnp.Pointer) error
- func (s Payload) SetContentPtr(v capnp.Ptr) error
- func (s Payload) String() string
- type Payload_List
- type Payload_Promise
- type PromisedAnswer
- func (s PromisedAnswer) HasTransform() bool
- func (s PromisedAnswer) NewTransform(n int32) (PromisedAnswer_Op_List, error)
- func (s PromisedAnswer) QuestionId() uint32
- func (s PromisedAnswer) SetQuestionId(v uint32)
- func (s PromisedAnswer) SetTransform(v PromisedAnswer_Op_List) error
- func (s PromisedAnswer) String() string
- func (s PromisedAnswer) Transform() (PromisedAnswer_Op_List, error)
- type PromisedAnswer_List
- type PromisedAnswer_Op
- type PromisedAnswer_Op_List
- type PromisedAnswer_Op_Promise
- type PromisedAnswer_Op_Which
- type PromisedAnswer_Promise
- type Provide
- func (s Provide) HasRecipient() bool
- func (s Provide) HasTarget() bool
- func (s Provide) NewTarget() (MessageTarget, error)
- func (s Provide) QuestionId() uint32
- func (s Provide) Recipient() (capnp.Pointer, error)
- func (s Provide) RecipientPtr() (capnp.Ptr, error)
- func (s Provide) SetQuestionId(v uint32)
- func (s Provide) SetRecipient(v capnp.Pointer) error
- func (s Provide) SetRecipientPtr(v capnp.Ptr) error
- func (s Provide) SetTarget(v MessageTarget) error
- func (s Provide) String() string
- func (s Provide) Target() (MessageTarget, error)
- type Provide_List
- type Provide_Promise
- type Release
- type Release_List
- type Release_Promise
- type Resolve
- func (s Resolve) Cap() (CapDescriptor, error)
- func (s Resolve) Exception() (Exception, error)
- func (s Resolve) HasCap() bool
- func (s Resolve) HasException() bool
- func (s Resolve) NewCap() (CapDescriptor, error)
- func (s Resolve) NewException() (Exception, error)
- func (s Resolve) PromiseId() uint32
- func (s Resolve) SetCap(v CapDescriptor) error
- func (s Resolve) SetException(v Exception) error
- func (s Resolve) SetPromiseId(v uint32)
- func (s Resolve) String() string
- func (s Resolve) Which() Resolve_Which
- type Resolve_List
- type Resolve_Promise
- type Resolve_Which
- type Return
- func (s Return) AcceptFromThirdParty() (capnp.Pointer, error)
- func (s Return) AcceptFromThirdPartyPtr() (capnp.Ptr, error)
- func (s Return) AnswerId() uint32
- func (s Return) Exception() (Exception, error)
- func (s Return) HasAcceptFromThirdParty() bool
- func (s Return) HasException() bool
- func (s Return) HasResults() bool
- func (s Return) NewException() (Exception, error)
- func (s Return) NewResults() (Payload, error)
- func (s Return) ReleaseParamCaps() bool
- func (s Return) Results() (Payload, error)
- func (s Return) SetAcceptFromThirdParty(v capnp.Pointer) error
- func (s Return) SetAcceptFromThirdPartyPtr(v capnp.Ptr) error
- func (s Return) SetAnswerId(v uint32)
- func (s Return) SetCanceled()
- func (s Return) SetException(v Exception) error
- func (s Return) SetReleaseParamCaps(v bool)
- func (s Return) SetResults(v Payload) error
- func (s Return) SetResultsSentElsewhere()
- func (s Return) SetTakeFromOtherQuestion(v uint32)
- func (s Return) String() string
- func (s Return) TakeFromOtherQuestion() uint32
- func (s Return) Which() Return_Which
- type Return_List
- type Return_Promise
- type Return_Which
- type ThirdPartyCapDescriptor
- func (s ThirdPartyCapDescriptor) HasId() bool
- func (s ThirdPartyCapDescriptor) Id() (capnp.Pointer, error)
- func (s ThirdPartyCapDescriptor) IdPtr() (capnp.Ptr, error)
- func (s ThirdPartyCapDescriptor) SetId(v capnp.Pointer) error
- func (s ThirdPartyCapDescriptor) SetIdPtr(v capnp.Ptr) error
- func (s ThirdPartyCapDescriptor) SetVineId(v uint32)
- func (s ThirdPartyCapDescriptor) String() string
- func (s ThirdPartyCapDescriptor) VineId() uint32
- type ThirdPartyCapDescriptor_List
- type ThirdPartyCapDescriptor_Promise
Constants ¶
const Accept_TypeID = 0xd4c9b56290554016
Accept_TypeID is the unique identifier for the type Accept.
const Bootstrap_TypeID = 0xe94ccf8031176ec4
Bootstrap_TypeID is the unique identifier for the type Bootstrap.
const Call_TypeID = 0x836a53ce789d4cd4
Call_TypeID is the unique identifier for the type Call.
const CapDescriptor_TypeID = 0x8523ddc40b86b8b0
CapDescriptor_TypeID is the unique identifier for the type CapDescriptor.
const Disembargo_TypeID = 0xf964368b0fbd3711
Disembargo_TypeID is the unique identifier for the type Disembargo.
const Exception_TypeID = 0xd625b7063acf691a
Exception_TypeID is the unique identifier for the type Exception.
const Finish_TypeID = 0xd37d2eb2c2f80e63
Finish_TypeID is the unique identifier for the type Finish.
const Join_TypeID = 0xfbe1980490e001af
Join_TypeID is the unique identifier for the type Join.
const MessageTarget_TypeID = 0x95bc14545813fbc1
MessageTarget_TypeID is the unique identifier for the type MessageTarget.
const Message_TypeID = 0x91b79f1f808db032
Message_TypeID is the unique identifier for the type Message.
const Payload_TypeID = 0x9a0e61223d96743b
Payload_TypeID is the unique identifier for the type Payload.
const PromisedAnswer_Op_TypeID = 0xf316944415569081
PromisedAnswer_Op_TypeID is the unique identifier for the type PromisedAnswer_Op.
const PromisedAnswer_TypeID = 0xd800b1d6cd6f1ca0
PromisedAnswer_TypeID is the unique identifier for the type PromisedAnswer.
const Provide_TypeID = 0x9c6a046bfbc1ac5a
Provide_TypeID is the unique identifier for the type Provide.
const Release_TypeID = 0xad1a6c0d7dd07497
Release_TypeID is the unique identifier for the type Release.
const Resolve_TypeID = 0xbbc29655fa89086e
Resolve_TypeID is the unique identifier for the type Resolve.
const Return_TypeID = 0x9e19b28d3db3573a
Return_TypeID is the unique identifier for the type Return.
const ThirdPartyCapDescriptor_TypeID = 0xd37007fde1f0027d
ThirdPartyCapDescriptor_TypeID is the unique identifier for the type ThirdPartyCapDescriptor.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accept ¶
func (Accept) HasProvision ¶
func (Accept) QuestionId ¶
func (Accept) SetEmbargo ¶
func (Accept) SetQuestionId ¶
type Accept_List ¶
Accept_List is a list of Accept.
func NewAccept_List ¶
func NewAccept_List(s *capnp.Segment, sz int32) (Accept_List, error)
NewAccept creates a new list of Accept.
func (Accept_List) At ¶
func (s Accept_List) At(i int) Accept
type Accept_Promise ¶
Accept_Promise is a wrapper for a Accept promised by a client call.
func (Accept_Promise) Provision ¶
func (p Accept_Promise) Provision() *capnp.Pipeline
func (Accept_Promise) Struct ¶
func (p Accept_Promise) Struct() (Accept, error)
type Bootstrap ¶
func (Bootstrap) DeprecatedObjectId ¶
func (Bootstrap) DeprecatedObjectIdPtr ¶
func (Bootstrap) HasDeprecatedObjectId ¶
func (Bootstrap) QuestionId ¶
func (Bootstrap) SetDeprecatedObjectId ¶
func (Bootstrap) SetDeprecatedObjectIdPtr ¶
func (Bootstrap) SetQuestionId ¶
type Bootstrap_List ¶
Bootstrap_List is a list of Bootstrap.
func NewBootstrap_List ¶
func NewBootstrap_List(s *capnp.Segment, sz int32) (Bootstrap_List, error)
NewBootstrap creates a new list of Bootstrap.
func (Bootstrap_List) At ¶
func (s Bootstrap_List) At(i int) Bootstrap
type Bootstrap_Promise ¶
Bootstrap_Promise is a wrapper for a Bootstrap promised by a client call.
func (Bootstrap_Promise) DeprecatedObjectId ¶
func (p Bootstrap_Promise) DeprecatedObjectId() *capnp.Pipeline
func (Bootstrap_Promise) Struct ¶
func (p Bootstrap_Promise) Struct() (Bootstrap, error)
type Call ¶
func (Call) AllowThirdPartyTailCall ¶
func (Call) InterfaceId ¶
func (Call) NewParams ¶
NewParams sets the params field to a newly allocated Payload struct, preferring placement in s's segment.
func (Call) NewTarget ¶
func (s Call) NewTarget() (MessageTarget, error)
NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.
func (Call) QuestionId ¶
func (Call) SendResultsTo ¶
func (s Call) SendResultsTo() Call_sendResultsTo
func (Call) SetAllowThirdPartyTailCall ¶
func (Call) SetInterfaceId ¶
func (Call) SetMethodId ¶
func (Call) SetQuestionId ¶
func (Call) SetTarget ¶
func (s Call) SetTarget(v MessageTarget) error
func (Call) Target ¶
func (s Call) Target() (MessageTarget, error)
type Call_List ¶
Call_List is a list of Call.
func NewCall_List ¶
NewCall creates a new list of Call.
type Call_Promise ¶
Call_Promise is a wrapper for a Call promised by a client call.
func (Call_Promise) Params ¶
func (p Call_Promise) Params() Payload_Promise
func (Call_Promise) SendResultsTo ¶
func (p Call_Promise) SendResultsTo() Call_sendResultsTo_Promise
func (Call_Promise) Struct ¶
func (p Call_Promise) Struct() (Call, error)
func (Call_Promise) Target ¶
func (p Call_Promise) Target() MessageTarget_Promise
type Call_sendResultsTo ¶
type Call_sendResultsTo Call
func (Call_sendResultsTo) HasThirdParty ¶
func (s Call_sendResultsTo) HasThirdParty() bool
func (Call_sendResultsTo) SetCaller ¶
func (s Call_sendResultsTo) SetCaller()
func (Call_sendResultsTo) SetThirdParty ¶
func (s Call_sendResultsTo) SetThirdParty(v capnp.Pointer) error
func (Call_sendResultsTo) SetThirdPartyPtr ¶
func (s Call_sendResultsTo) SetThirdPartyPtr(v capnp.Ptr) error
func (Call_sendResultsTo) SetYourself ¶
func (s Call_sendResultsTo) SetYourself()
func (Call_sendResultsTo) ThirdParty ¶
func (s Call_sendResultsTo) ThirdParty() (capnp.Pointer, error)
func (Call_sendResultsTo) ThirdPartyPtr ¶
func (s Call_sendResultsTo) ThirdPartyPtr() (capnp.Ptr, error)
func (Call_sendResultsTo) Which ¶
func (s Call_sendResultsTo) Which() Call_sendResultsTo_Which
type Call_sendResultsTo_Promise ¶
Call_sendResultsTo_Promise is a wrapper for a Call_sendResultsTo promised by a client call.
func (Call_sendResultsTo_Promise) Struct ¶
func (p Call_sendResultsTo_Promise) Struct() (Call_sendResultsTo, error)
func (Call_sendResultsTo_Promise) ThirdParty ¶
func (p Call_sendResultsTo_Promise) ThirdParty() *capnp.Pipeline
type Call_sendResultsTo_Which ¶
type Call_sendResultsTo_Which uint16
const ( Call_sendResultsTo_Which_caller Call_sendResultsTo_Which = 0 Call_sendResultsTo_Which_yourself Call_sendResultsTo_Which = 1 Call_sendResultsTo_Which_thirdParty Call_sendResultsTo_Which = 2 )
func (Call_sendResultsTo_Which) String ¶
func (w Call_sendResultsTo_Which) String() string
type CapDescriptor ¶
func NewCapDescriptor ¶
func NewCapDescriptor(s *capnp.Segment) (CapDescriptor, error)
func NewRootCapDescriptor ¶
func NewRootCapDescriptor(s *capnp.Segment) (CapDescriptor, error)
func ReadRootCapDescriptor ¶
func ReadRootCapDescriptor(msg *capnp.Message) (CapDescriptor, error)
func (CapDescriptor) HasReceiverAnswer ¶
func (s CapDescriptor) HasReceiverAnswer() bool
func (CapDescriptor) HasThirdPartyHosted ¶
func (s CapDescriptor) HasThirdPartyHosted() bool
func (CapDescriptor) NewReceiverAnswer ¶
func (s CapDescriptor) NewReceiverAnswer() (PromisedAnswer, error)
NewReceiverAnswer sets the receiverAnswer field to a newly allocated PromisedAnswer struct, preferring placement in s's segment.
func (CapDescriptor) NewThirdPartyHosted ¶
func (s CapDescriptor) NewThirdPartyHosted() (ThirdPartyCapDescriptor, error)
NewThirdPartyHosted sets the thirdPartyHosted field to a newly allocated ThirdPartyCapDescriptor struct, preferring placement in s's segment.
func (CapDescriptor) ReceiverAnswer ¶
func (s CapDescriptor) ReceiverAnswer() (PromisedAnswer, error)
func (CapDescriptor) ReceiverHosted ¶
func (s CapDescriptor) ReceiverHosted() uint32
func (CapDescriptor) SenderHosted ¶
func (s CapDescriptor) SenderHosted() uint32
func (CapDescriptor) SenderPromise ¶
func (s CapDescriptor) SenderPromise() uint32
func (CapDescriptor) SetNone ¶
func (s CapDescriptor) SetNone()
func (CapDescriptor) SetReceiverAnswer ¶
func (s CapDescriptor) SetReceiverAnswer(v PromisedAnswer) error
func (CapDescriptor) SetReceiverHosted ¶
func (s CapDescriptor) SetReceiverHosted(v uint32)
func (CapDescriptor) SetSenderHosted ¶
func (s CapDescriptor) SetSenderHosted(v uint32)
func (CapDescriptor) SetSenderPromise ¶
func (s CapDescriptor) SetSenderPromise(v uint32)
func (CapDescriptor) SetThirdPartyHosted ¶
func (s CapDescriptor) SetThirdPartyHosted(v ThirdPartyCapDescriptor) error
func (CapDescriptor) String ¶
func (s CapDescriptor) String() string
func (CapDescriptor) ThirdPartyHosted ¶
func (s CapDescriptor) ThirdPartyHosted() (ThirdPartyCapDescriptor, error)
func (CapDescriptor) Which ¶
func (s CapDescriptor) Which() CapDescriptor_Which
type CapDescriptor_List ¶
CapDescriptor_List is a list of CapDescriptor.
func NewCapDescriptor_List ¶
func NewCapDescriptor_List(s *capnp.Segment, sz int32) (CapDescriptor_List, error)
NewCapDescriptor creates a new list of CapDescriptor.
func (CapDescriptor_List) At ¶
func (s CapDescriptor_List) At(i int) CapDescriptor
func (CapDescriptor_List) Set ¶
func (s CapDescriptor_List) Set(i int, v CapDescriptor) error
type CapDescriptor_Promise ¶
CapDescriptor_Promise is a wrapper for a CapDescriptor promised by a client call.
func (CapDescriptor_Promise) ReceiverAnswer ¶
func (p CapDescriptor_Promise) ReceiverAnswer() PromisedAnswer_Promise
func (CapDescriptor_Promise) Struct ¶
func (p CapDescriptor_Promise) Struct() (CapDescriptor, error)
func (CapDescriptor_Promise) ThirdPartyHosted ¶
func (p CapDescriptor_Promise) ThirdPartyHosted() ThirdPartyCapDescriptor_Promise
type CapDescriptor_Which ¶
type CapDescriptor_Which uint16
const ( CapDescriptor_Which_none CapDescriptor_Which = 0 CapDescriptor_Which_senderHosted CapDescriptor_Which = 1 CapDescriptor_Which_senderPromise CapDescriptor_Which = 2 CapDescriptor_Which_receiverHosted CapDescriptor_Which = 3 CapDescriptor_Which_receiverAnswer CapDescriptor_Which = 4 CapDescriptor_Which_thirdPartyHosted CapDescriptor_Which = 5 )
func (CapDescriptor_Which) String ¶
func (w CapDescriptor_Which) String() string
type Disembargo ¶
func NewDisembargo ¶
func NewDisembargo(s *capnp.Segment) (Disembargo, error)
func NewRootDisembargo ¶
func NewRootDisembargo(s *capnp.Segment) (Disembargo, error)
func ReadRootDisembargo ¶
func ReadRootDisembargo(msg *capnp.Message) (Disembargo, error)
func (Disembargo) Context ¶
func (s Disembargo) Context() Disembargo_context
func (Disembargo) HasTarget ¶
func (s Disembargo) HasTarget() bool
func (Disembargo) NewTarget ¶
func (s Disembargo) NewTarget() (MessageTarget, error)
NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.
func (Disembargo) SetTarget ¶
func (s Disembargo) SetTarget(v MessageTarget) error
func (Disembargo) String ¶
func (s Disembargo) String() string
func (Disembargo) Target ¶
func (s Disembargo) Target() (MessageTarget, error)
type Disembargo_List ¶
Disembargo_List is a list of Disembargo.
func NewDisembargo_List ¶
func NewDisembargo_List(s *capnp.Segment, sz int32) (Disembargo_List, error)
NewDisembargo creates a new list of Disembargo.
func (Disembargo_List) At ¶
func (s Disembargo_List) At(i int) Disembargo
func (Disembargo_List) Set ¶
func (s Disembargo_List) Set(i int, v Disembargo) error
type Disembargo_Promise ¶
Disembargo_Promise is a wrapper for a Disembargo promised by a client call.
func (Disembargo_Promise) Context ¶
func (p Disembargo_Promise) Context() Disembargo_context_Promise
func (Disembargo_Promise) Struct ¶
func (p Disembargo_Promise) Struct() (Disembargo, error)
func (Disembargo_Promise) Target ¶
func (p Disembargo_Promise) Target() MessageTarget_Promise
type Disembargo_context ¶
type Disembargo_context Disembargo
func (Disembargo_context) Provide ¶
func (s Disembargo_context) Provide() uint32
func (Disembargo_context) ReceiverLoopback ¶
func (s Disembargo_context) ReceiverLoopback() uint32
func (Disembargo_context) SenderLoopback ¶
func (s Disembargo_context) SenderLoopback() uint32
func (Disembargo_context) SetAccept ¶
func (s Disembargo_context) SetAccept()
func (Disembargo_context) SetProvide ¶
func (s Disembargo_context) SetProvide(v uint32)
func (Disembargo_context) SetReceiverLoopback ¶
func (s Disembargo_context) SetReceiverLoopback(v uint32)
func (Disembargo_context) SetSenderLoopback ¶
func (s Disembargo_context) SetSenderLoopback(v uint32)
func (Disembargo_context) Which ¶
func (s Disembargo_context) Which() Disembargo_context_Which
type Disembargo_context_Promise ¶
Disembargo_context_Promise is a wrapper for a Disembargo_context promised by a client call.
func (Disembargo_context_Promise) Struct ¶
func (p Disembargo_context_Promise) Struct() (Disembargo_context, error)
type Disembargo_context_Which ¶
type Disembargo_context_Which uint16
const ( Disembargo_context_Which_senderLoopback Disembargo_context_Which = 0 Disembargo_context_Which_receiverLoopback Disembargo_context_Which = 1 Disembargo_context_Which_accept Disembargo_context_Which = 2 Disembargo_context_Which_provide Disembargo_context_Which = 3 )
func (Disembargo_context_Which) String ¶
func (w Disembargo_context_Which) String() string
type Exception ¶
func (Exception) ObsoleteDurability ¶
func (Exception) ObsoleteIsCallersFault ¶
func (Exception) ReasonBytes ¶
func (Exception) SetObsoleteDurability ¶
func (Exception) SetObsoleteIsCallersFault ¶
func (Exception) SetType ¶
func (s Exception) SetType(v Exception_Type)
func (Exception) Type ¶
func (s Exception) Type() Exception_Type
type Exception_List ¶
Exception_List is a list of Exception.
func NewException_List ¶
func NewException_List(s *capnp.Segment, sz int32) (Exception_List, error)
NewException creates a new list of Exception.
func (Exception_List) At ¶
func (s Exception_List) At(i int) Exception
type Exception_Promise ¶
Exception_Promise is a wrapper for a Exception promised by a client call.
func (Exception_Promise) Struct ¶
func (p Exception_Promise) Struct() (Exception, error)
type Exception_Type ¶
type Exception_Type uint16
const ( Exception_Type_failed Exception_Type = 0 Exception_Type_overloaded Exception_Type = 1 Exception_Type_disconnected Exception_Type = 2 Exception_Type_unimplemented Exception_Type = 3 )
Values of Exception_Type.
func Exception_TypeFromString ¶
func Exception_TypeFromString(c string) Exception_Type
Exception_TypeFromString returns the enum value with a name, or the zero value if there's no such value.
func (Exception_Type) String ¶
func (c Exception_Type) String() string
String returns the enum's constant name.
type Exception_Type_List ¶
func NewException_Type_List ¶
func NewException_Type_List(s *capnp.Segment, sz int32) (Exception_Type_List, error)
func (Exception_Type_List) At ¶
func (l Exception_Type_List) At(i int) Exception_Type
func (Exception_Type_List) Set ¶
func (l Exception_Type_List) Set(i int, v Exception_Type)
type Finish ¶
func (Finish) QuestionId ¶
func (Finish) ReleaseResultCaps ¶
func (Finish) SetQuestionId ¶
func (Finish) SetReleaseResultCaps ¶
type Finish_List ¶
Finish_List is a list of Finish.
func NewFinish_List ¶
func NewFinish_List(s *capnp.Segment, sz int32) (Finish_List, error)
NewFinish creates a new list of Finish.
func (Finish_List) At ¶
func (s Finish_List) At(i int) Finish
type Finish_Promise ¶
Finish_Promise is a wrapper for a Finish promised by a client call.
func (Finish_Promise) Struct ¶
func (p Finish_Promise) Struct() (Finish, error)
type Join ¶
func (Join) HasKeyPart ¶
func (Join) NewTarget ¶
func (s Join) NewTarget() (MessageTarget, error)
NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.
func (Join) QuestionId ¶
func (Join) SetQuestionId ¶
func (Join) SetTarget ¶
func (s Join) SetTarget(v MessageTarget) error
func (Join) Target ¶
func (s Join) Target() (MessageTarget, error)
type Join_List ¶
Join_List is a list of Join.
func NewJoin_List ¶
NewJoin creates a new list of Join.
type Join_Promise ¶
Join_Promise is a wrapper for a Join promised by a client call.
func (Join_Promise) KeyPart ¶
func (p Join_Promise) KeyPart() *capnp.Pipeline
func (Join_Promise) Struct ¶
func (p Join_Promise) Struct() (Join, error)
func (Join_Promise) Target ¶
func (p Join_Promise) Target() MessageTarget_Promise
type Message ¶
func (Message) Disembargo ¶
func (s Message) Disembargo() (Disembargo, error)
func (Message) HasBootstrap ¶
func (Message) HasDisembargo ¶
func (Message) HasObsoleteDelete ¶
func (Message) HasObsoleteSave ¶
func (Message) HasProvide ¶
func (Message) HasRelease ¶
func (Message) HasResolve ¶
func (Message) HasUnimplemented ¶
func (Message) NewAbort ¶
NewAbort sets the abort field to a newly allocated Exception struct, preferring placement in s's segment.
func (Message) NewAccept ¶
NewAccept sets the accept field to a newly allocated Accept struct, preferring placement in s's segment.
func (Message) NewBootstrap ¶
NewBootstrap sets the bootstrap field to a newly allocated Bootstrap struct, preferring placement in s's segment.
func (Message) NewCall ¶
NewCall sets the call field to a newly allocated Call struct, preferring placement in s's segment.
func (Message) NewDisembargo ¶
func (s Message) NewDisembargo() (Disembargo, error)
NewDisembargo sets the disembargo field to a newly allocated Disembargo struct, preferring placement in s's segment.
func (Message) NewFinish ¶
NewFinish sets the finish field to a newly allocated Finish struct, preferring placement in s's segment.
func (Message) NewJoin ¶
NewJoin sets the join field to a newly allocated Join struct, preferring placement in s's segment.
func (Message) NewProvide ¶
NewProvide sets the provide field to a newly allocated Provide struct, preferring placement in s's segment.
func (Message) NewRelease ¶
NewRelease sets the release field to a newly allocated Release struct, preferring placement in s's segment.
func (Message) NewResolve ¶
NewResolve sets the resolve field to a newly allocated Resolve struct, preferring placement in s's segment.
func (Message) NewReturn ¶
NewReturn sets the return field to a newly allocated Return struct, preferring placement in s's segment.
func (Message) NewUnimplemented ¶
NewUnimplemented sets the unimplemented field to a newly allocated Message struct, preferring placement in s's segment.
func (Message) SetBootstrap ¶
func (Message) SetDisembargo ¶
func (s Message) SetDisembargo(v Disembargo) error
func (Message) SetProvide ¶
func (Message) SetRelease ¶
func (Message) SetResolve ¶
func (Message) SetUnimplemented ¶
func (Message) Unimplemented ¶
func (Message) Which ¶
func (s Message) Which() Message_Which
type MessageTarget ¶
func NewMessageTarget ¶
func NewMessageTarget(s *capnp.Segment) (MessageTarget, error)
func NewRootMessageTarget ¶
func NewRootMessageTarget(s *capnp.Segment) (MessageTarget, error)
func ReadRootMessageTarget ¶
func ReadRootMessageTarget(msg *capnp.Message) (MessageTarget, error)
func (MessageTarget) HasPromisedAnswer ¶
func (s MessageTarget) HasPromisedAnswer() bool
func (MessageTarget) ImportedCap ¶
func (s MessageTarget) ImportedCap() uint32
func (MessageTarget) NewPromisedAnswer ¶
func (s MessageTarget) NewPromisedAnswer() (PromisedAnswer, error)
NewPromisedAnswer sets the promisedAnswer field to a newly allocated PromisedAnswer struct, preferring placement in s's segment.
func (MessageTarget) PromisedAnswer ¶
func (s MessageTarget) PromisedAnswer() (PromisedAnswer, error)
func (MessageTarget) SetImportedCap ¶
func (s MessageTarget) SetImportedCap(v uint32)
func (MessageTarget) SetPromisedAnswer ¶
func (s MessageTarget) SetPromisedAnswer(v PromisedAnswer) error
func (MessageTarget) String ¶
func (s MessageTarget) String() string
func (MessageTarget) Which ¶
func (s MessageTarget) Which() MessageTarget_Which
type MessageTarget_List ¶
MessageTarget_List is a list of MessageTarget.
func NewMessageTarget_List ¶
func NewMessageTarget_List(s *capnp.Segment, sz int32) (MessageTarget_List, error)
NewMessageTarget creates a new list of MessageTarget.
func (MessageTarget_List) At ¶
func (s MessageTarget_List) At(i int) MessageTarget
func (MessageTarget_List) Set ¶
func (s MessageTarget_List) Set(i int, v MessageTarget) error
type MessageTarget_Promise ¶
MessageTarget_Promise is a wrapper for a MessageTarget promised by a client call.
func (MessageTarget_Promise) PromisedAnswer ¶
func (p MessageTarget_Promise) PromisedAnswer() PromisedAnswer_Promise
func (MessageTarget_Promise) Struct ¶
func (p MessageTarget_Promise) Struct() (MessageTarget, error)
type MessageTarget_Which ¶
type MessageTarget_Which uint16
const ( MessageTarget_Which_importedCap MessageTarget_Which = 0 MessageTarget_Which_promisedAnswer MessageTarget_Which = 1 )
func (MessageTarget_Which) String ¶
func (w MessageTarget_Which) String() string
type Message_List ¶
Message_List is a list of Message.
func NewMessage_List ¶
func NewMessage_List(s *capnp.Segment, sz int32) (Message_List, error)
NewMessage creates a new list of Message.
func (Message_List) At ¶
func (s Message_List) At(i int) Message
type Message_Promise ¶
Message_Promise is a wrapper for a Message promised by a client call.
func (Message_Promise) Abort ¶
func (p Message_Promise) Abort() Exception_Promise
func (Message_Promise) Accept ¶
func (p Message_Promise) Accept() Accept_Promise
func (Message_Promise) Bootstrap ¶
func (p Message_Promise) Bootstrap() Bootstrap_Promise
func (Message_Promise) Call ¶
func (p Message_Promise) Call() Call_Promise
func (Message_Promise) Disembargo ¶
func (p Message_Promise) Disembargo() Disembargo_Promise
func (Message_Promise) Finish ¶
func (p Message_Promise) Finish() Finish_Promise
func (Message_Promise) Join ¶
func (p Message_Promise) Join() Join_Promise
func (Message_Promise) ObsoleteDelete ¶
func (p Message_Promise) ObsoleteDelete() *capnp.Pipeline
func (Message_Promise) ObsoleteSave ¶
func (p Message_Promise) ObsoleteSave() *capnp.Pipeline
func (Message_Promise) Provide ¶
func (p Message_Promise) Provide() Provide_Promise
func (Message_Promise) Release ¶
func (p Message_Promise) Release() Release_Promise
func (Message_Promise) Resolve ¶
func (p Message_Promise) Resolve() Resolve_Promise
func (Message_Promise) Return ¶
func (p Message_Promise) Return() Return_Promise
func (Message_Promise) Struct ¶
func (p Message_Promise) Struct() (Message, error)
func (Message_Promise) Unimplemented ¶
func (p Message_Promise) Unimplemented() Message_Promise
type Message_Which ¶
type Message_Which uint16
const ( Message_Which_unimplemented Message_Which = 0 Message_Which_abort Message_Which = 1 Message_Which_bootstrap Message_Which = 8 Message_Which_call Message_Which = 2 Message_Which_return Message_Which = 3 Message_Which_finish Message_Which = 4 Message_Which_resolve Message_Which = 5 Message_Which_release Message_Which = 6 Message_Which_disembargo Message_Which = 13 Message_Which_obsoleteSave Message_Which = 7 Message_Which_obsoleteDelete Message_Which = 9 Message_Which_provide Message_Which = 10 Message_Which_accept Message_Which = 11 Message_Which_join Message_Which = 12 )
func (Message_Which) String ¶
func (w Message_Which) String() string
type Payload ¶
func (Payload) CapTable ¶
func (s Payload) CapTable() (CapDescriptor_List, error)
func (Payload) HasCapTable ¶
func (Payload) HasContent ¶
func (Payload) NewCapTable ¶
func (s Payload) NewCapTable(n int32) (CapDescriptor_List, error)
NewCapTable sets the capTable field to a newly allocated CapDescriptor_List, preferring placement in s's segment.
func (Payload) SetCapTable ¶
func (s Payload) SetCapTable(v CapDescriptor_List) error
type Payload_List ¶
Payload_List is a list of Payload.
func NewPayload_List ¶
func NewPayload_List(s *capnp.Segment, sz int32) (Payload_List, error)
NewPayload creates a new list of Payload.
func (Payload_List) At ¶
func (s Payload_List) At(i int) Payload
type Payload_Promise ¶
Payload_Promise is a wrapper for a Payload promised by a client call.
func (Payload_Promise) Content ¶
func (p Payload_Promise) Content() *capnp.Pipeline
func (Payload_Promise) Struct ¶
func (p Payload_Promise) Struct() (Payload, error)
type PromisedAnswer ¶
func NewPromisedAnswer ¶
func NewPromisedAnswer(s *capnp.Segment) (PromisedAnswer, error)
func NewRootPromisedAnswer ¶
func NewRootPromisedAnswer(s *capnp.Segment) (PromisedAnswer, error)
func ReadRootPromisedAnswer ¶
func ReadRootPromisedAnswer(msg *capnp.Message) (PromisedAnswer, error)
func (PromisedAnswer) HasTransform ¶
func (s PromisedAnswer) HasTransform() bool
func (PromisedAnswer) NewTransform ¶
func (s PromisedAnswer) NewTransform(n int32) (PromisedAnswer_Op_List, error)
NewTransform sets the transform field to a newly allocated PromisedAnswer_Op_List, preferring placement in s's segment.
func (PromisedAnswer) QuestionId ¶
func (s PromisedAnswer) QuestionId() uint32
func (PromisedAnswer) SetQuestionId ¶
func (s PromisedAnswer) SetQuestionId(v uint32)
func (PromisedAnswer) SetTransform ¶
func (s PromisedAnswer) SetTransform(v PromisedAnswer_Op_List) error
func (PromisedAnswer) String ¶
func (s PromisedAnswer) String() string
func (PromisedAnswer) Transform ¶
func (s PromisedAnswer) Transform() (PromisedAnswer_Op_List, error)
type PromisedAnswer_List ¶
PromisedAnswer_List is a list of PromisedAnswer.
func NewPromisedAnswer_List ¶
func NewPromisedAnswer_List(s *capnp.Segment, sz int32) (PromisedAnswer_List, error)
NewPromisedAnswer creates a new list of PromisedAnswer.
func (PromisedAnswer_List) At ¶
func (s PromisedAnswer_List) At(i int) PromisedAnswer
func (PromisedAnswer_List) Set ¶
func (s PromisedAnswer_List) Set(i int, v PromisedAnswer) error
type PromisedAnswer_Op ¶
func NewPromisedAnswer_Op ¶
func NewPromisedAnswer_Op(s *capnp.Segment) (PromisedAnswer_Op, error)
func NewRootPromisedAnswer_Op ¶
func NewRootPromisedAnswer_Op(s *capnp.Segment) (PromisedAnswer_Op, error)
func ReadRootPromisedAnswer_Op ¶
func ReadRootPromisedAnswer_Op(msg *capnp.Message) (PromisedAnswer_Op, error)
func (PromisedAnswer_Op) GetPointerField ¶
func (s PromisedAnswer_Op) GetPointerField() uint16
func (PromisedAnswer_Op) SetGetPointerField ¶
func (s PromisedAnswer_Op) SetGetPointerField(v uint16)
func (PromisedAnswer_Op) SetNoop ¶
func (s PromisedAnswer_Op) SetNoop()
func (PromisedAnswer_Op) String ¶
func (s PromisedAnswer_Op) String() string
func (PromisedAnswer_Op) Which ¶
func (s PromisedAnswer_Op) Which() PromisedAnswer_Op_Which
type PromisedAnswer_Op_List ¶
PromisedAnswer_Op_List is a list of PromisedAnswer_Op.
func NewPromisedAnswer_Op_List ¶
func NewPromisedAnswer_Op_List(s *capnp.Segment, sz int32) (PromisedAnswer_Op_List, error)
NewPromisedAnswer_Op creates a new list of PromisedAnswer_Op.
func (PromisedAnswer_Op_List) At ¶
func (s PromisedAnswer_Op_List) At(i int) PromisedAnswer_Op
func (PromisedAnswer_Op_List) Set ¶
func (s PromisedAnswer_Op_List) Set(i int, v PromisedAnswer_Op) error
type PromisedAnswer_Op_Promise ¶
PromisedAnswer_Op_Promise is a wrapper for a PromisedAnswer_Op promised by a client call.
func (PromisedAnswer_Op_Promise) Struct ¶
func (p PromisedAnswer_Op_Promise) Struct() (PromisedAnswer_Op, error)
type PromisedAnswer_Op_Which ¶
type PromisedAnswer_Op_Which uint16
const ( PromisedAnswer_Op_Which_noop PromisedAnswer_Op_Which = 0 PromisedAnswer_Op_Which_getPointerField PromisedAnswer_Op_Which = 1 )
func (PromisedAnswer_Op_Which) String ¶
func (w PromisedAnswer_Op_Which) String() string
type PromisedAnswer_Promise ¶
PromisedAnswer_Promise is a wrapper for a PromisedAnswer promised by a client call.
func (PromisedAnswer_Promise) Struct ¶
func (p PromisedAnswer_Promise) Struct() (PromisedAnswer, error)
type Provide ¶
func (Provide) HasRecipient ¶
func (Provide) NewTarget ¶
func (s Provide) NewTarget() (MessageTarget, error)
NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.
func (Provide) QuestionId ¶
func (Provide) SetQuestionId ¶
func (Provide) SetTarget ¶
func (s Provide) SetTarget(v MessageTarget) error
func (Provide) Target ¶
func (s Provide) Target() (MessageTarget, error)
type Provide_List ¶
Provide_List is a list of Provide.
func NewProvide_List ¶
func NewProvide_List(s *capnp.Segment, sz int32) (Provide_List, error)
NewProvide creates a new list of Provide.
func (Provide_List) At ¶
func (s Provide_List) At(i int) Provide
type Provide_Promise ¶
Provide_Promise is a wrapper for a Provide promised by a client call.
func (Provide_Promise) Recipient ¶
func (p Provide_Promise) Recipient() *capnp.Pipeline
func (Provide_Promise) Struct ¶
func (p Provide_Promise) Struct() (Provide, error)
func (Provide_Promise) Target ¶
func (p Provide_Promise) Target() MessageTarget_Promise
type Release_List ¶
Release_List is a list of Release.
func NewRelease_List ¶
func NewRelease_List(s *capnp.Segment, sz int32) (Release_List, error)
NewRelease creates a new list of Release.
func (Release_List) At ¶
func (s Release_List) At(i int) Release
type Release_Promise ¶
Release_Promise is a wrapper for a Release promised by a client call.
func (Release_Promise) Struct ¶
func (p Release_Promise) Struct() (Release, error)
type Resolve ¶
func (Resolve) Cap ¶
func (s Resolve) Cap() (CapDescriptor, error)
func (Resolve) HasException ¶
func (Resolve) NewCap ¶
func (s Resolve) NewCap() (CapDescriptor, error)
NewCap sets the cap field to a newly allocated CapDescriptor struct, preferring placement in s's segment.
func (Resolve) NewException ¶
NewException sets the exception field to a newly allocated Exception struct, preferring placement in s's segment.
func (Resolve) SetCap ¶
func (s Resolve) SetCap(v CapDescriptor) error
func (Resolve) SetException ¶
func (Resolve) SetPromiseId ¶
func (Resolve) Which ¶
func (s Resolve) Which() Resolve_Which
type Resolve_List ¶
Resolve_List is a list of Resolve.
func NewResolve_List ¶
func NewResolve_List(s *capnp.Segment, sz int32) (Resolve_List, error)
NewResolve creates a new list of Resolve.
func (Resolve_List) At ¶
func (s Resolve_List) At(i int) Resolve
type Resolve_Promise ¶
Resolve_Promise is a wrapper for a Resolve promised by a client call.
func (Resolve_Promise) Cap ¶
func (p Resolve_Promise) Cap() CapDescriptor_Promise
func (Resolve_Promise) Exception ¶
func (p Resolve_Promise) Exception() Exception_Promise
func (Resolve_Promise) Struct ¶
func (p Resolve_Promise) Struct() (Resolve, error)
type Resolve_Which ¶
type Resolve_Which uint16
const ( Resolve_Which_cap Resolve_Which = 0 Resolve_Which_exception Resolve_Which = 1 )
func (Resolve_Which) String ¶
func (w Resolve_Which) String() string
type Return ¶
func (Return) AcceptFromThirdPartyPtr ¶
func (Return) HasAcceptFromThirdParty ¶
func (Return) HasException ¶
func (Return) HasResults ¶
func (Return) NewException ¶
NewException sets the exception field to a newly allocated Exception struct, preferring placement in s's segment.
func (Return) NewResults ¶
NewResults sets the results field to a newly allocated Payload struct, preferring placement in s's segment.
func (Return) ReleaseParamCaps ¶
func (Return) SetAcceptFromThirdParty ¶
func (Return) SetAcceptFromThirdPartyPtr ¶
func (Return) SetAnswerId ¶
func (Return) SetCanceled ¶
func (s Return) SetCanceled()
func (Return) SetException ¶
func (Return) SetReleaseParamCaps ¶
func (Return) SetResults ¶
func (Return) SetResultsSentElsewhere ¶
func (s Return) SetResultsSentElsewhere()
func (Return) SetTakeFromOtherQuestion ¶
func (Return) TakeFromOtherQuestion ¶
func (Return) Which ¶
func (s Return) Which() Return_Which
type Return_List ¶
Return_List is a list of Return.
func NewReturn_List ¶
func NewReturn_List(s *capnp.Segment, sz int32) (Return_List, error)
NewReturn creates a new list of Return.
func (Return_List) At ¶
func (s Return_List) At(i int) Return
type Return_Promise ¶
Return_Promise is a wrapper for a Return promised by a client call.
func (Return_Promise) AcceptFromThirdParty ¶
func (p Return_Promise) AcceptFromThirdParty() *capnp.Pipeline
func (Return_Promise) Exception ¶
func (p Return_Promise) Exception() Exception_Promise
func (Return_Promise) Results ¶
func (p Return_Promise) Results() Payload_Promise
func (Return_Promise) Struct ¶
func (p Return_Promise) Struct() (Return, error)
type Return_Which ¶
type Return_Which uint16
const ( Return_Which_results Return_Which = 0 Return_Which_exception Return_Which = 1 Return_Which_canceled Return_Which = 2 Return_Which_resultsSentElsewhere Return_Which = 3 Return_Which_takeFromOtherQuestion Return_Which = 4 Return_Which_acceptFromThirdParty Return_Which = 5 )
func (Return_Which) String ¶
func (w Return_Which) String() string
type ThirdPartyCapDescriptor ¶
func NewRootThirdPartyCapDescriptor ¶
func NewRootThirdPartyCapDescriptor(s *capnp.Segment) (ThirdPartyCapDescriptor, error)
func NewThirdPartyCapDescriptor ¶
func NewThirdPartyCapDescriptor(s *capnp.Segment) (ThirdPartyCapDescriptor, error)
func ReadRootThirdPartyCapDescriptor ¶
func ReadRootThirdPartyCapDescriptor(msg *capnp.Message) (ThirdPartyCapDescriptor, error)
func (ThirdPartyCapDescriptor) HasId ¶
func (s ThirdPartyCapDescriptor) HasId() bool
func (ThirdPartyCapDescriptor) SetId ¶
func (s ThirdPartyCapDescriptor) SetId(v capnp.Pointer) error
func (ThirdPartyCapDescriptor) SetIdPtr ¶
func (s ThirdPartyCapDescriptor) SetIdPtr(v capnp.Ptr) error
func (ThirdPartyCapDescriptor) SetVineId ¶
func (s ThirdPartyCapDescriptor) SetVineId(v uint32)
func (ThirdPartyCapDescriptor) String ¶
func (s ThirdPartyCapDescriptor) String() string
func (ThirdPartyCapDescriptor) VineId ¶
func (s ThirdPartyCapDescriptor) VineId() uint32
type ThirdPartyCapDescriptor_List ¶
ThirdPartyCapDescriptor_List is a list of ThirdPartyCapDescriptor.
func NewThirdPartyCapDescriptor_List ¶
func NewThirdPartyCapDescriptor_List(s *capnp.Segment, sz int32) (ThirdPartyCapDescriptor_List, error)
NewThirdPartyCapDescriptor creates a new list of ThirdPartyCapDescriptor.
func (ThirdPartyCapDescriptor_List) At ¶
func (s ThirdPartyCapDescriptor_List) At(i int) ThirdPartyCapDescriptor
func (ThirdPartyCapDescriptor_List) Set ¶
func (s ThirdPartyCapDescriptor_List) Set(i int, v ThirdPartyCapDescriptor) error
type ThirdPartyCapDescriptor_Promise ¶
ThirdPartyCapDescriptor_Promise is a wrapper for a ThirdPartyCapDescriptor promised by a client call.
func (ThirdPartyCapDescriptor_Promise) Id ¶
func (p ThirdPartyCapDescriptor_Promise) Id() *capnp.Pipeline
func (ThirdPartyCapDescriptor_Promise) Struct ¶
func (p ThirdPartyCapDescriptor_Promise) Struct() (ThirdPartyCapDescriptor, error)