Documentation ¶
Index ¶
- Constants
- func RegisterSchema(reg *schemas.Registry)
- type Accept
- func (Accept) DecodeFromPtr(p capnp.Ptr) Accept
- func (s Accept) Embargo() bool
- func (s Accept) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Accept) HasProvision() bool
- func (s Accept) IsValid() bool
- func (s Accept) Message() *capnp.Message
- func (s Accept) Provision() (capnp.Ptr, error)
- func (s Accept) QuestionId() uint32
- func (s Accept) Segment() *capnp.Segment
- func (s Accept) SetEmbargo(v bool)
- func (s Accept) SetProvision(v capnp.Ptr) error
- func (s Accept) SetQuestionId(v uint32)
- func (s Accept) String() string
- func (s Accept) ToPtr() capnp.Ptr
- type Accept_Future
- type Accept_List
- type Bootstrap
- func (Bootstrap) DecodeFromPtr(p capnp.Ptr) Bootstrap
- func (s Bootstrap) DeprecatedObjectId() (capnp.Ptr, error)
- func (s Bootstrap) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Bootstrap) HasDeprecatedObjectId() bool
- func (s Bootstrap) IsValid() bool
- func (s Bootstrap) Message() *capnp.Message
- func (s Bootstrap) QuestionId() uint32
- func (s Bootstrap) Segment() *capnp.Segment
- func (s Bootstrap) SetDeprecatedObjectId(v capnp.Ptr) error
- func (s Bootstrap) SetQuestionId(v uint32)
- func (s Bootstrap) String() string
- func (s Bootstrap) ToPtr() capnp.Ptr
- type Bootstrap_Future
- type Bootstrap_List
- type Call
- func (s Call) AllowThirdPartyTailCall() bool
- func (Call) DecodeFromPtr(p capnp.Ptr) Call
- func (s Call) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Call) HasParams() bool
- func (s Call) HasTarget() bool
- func (s Call) InterfaceId() uint64
- func (s Call) IsValid() bool
- func (s Call) Message() *capnp.Message
- 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) Segment() *capnp.Segment
- 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)
- func (s Call) ToPtr() capnp.Ptr
- type Call_Future
- type Call_List
- type Call_sendResultsTo
- func (s Call_sendResultsTo) HasThirdParty() bool
- func (s Call_sendResultsTo) IsValid() bool
- func (s Call_sendResultsTo) Message() *capnp.Message
- func (s Call_sendResultsTo) Segment() *capnp.Segment
- func (s Call_sendResultsTo) SetCaller()
- func (s Call_sendResultsTo) SetThirdParty(v capnp.Ptr) error
- func (s Call_sendResultsTo) SetYourself()
- func (s Call_sendResultsTo) ThirdParty() (capnp.Ptr, error)
- func (s Call_sendResultsTo) Which() Call_sendResultsTo_Which
- type Call_sendResultsTo_Future
- type Call_sendResultsTo_Which
- type CapDescriptor
- func (s CapDescriptor) AttachedFd() uint8
- func (CapDescriptor) DecodeFromPtr(p capnp.Ptr) CapDescriptor
- func (s CapDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s CapDescriptor) HasReceiverAnswer() bool
- func (s CapDescriptor) HasThirdPartyHosted() bool
- func (s CapDescriptor) IsValid() bool
- func (s CapDescriptor) Message() *capnp.Message
- 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) Segment() *capnp.Segment
- func (s CapDescriptor) SenderHosted() uint32
- func (s CapDescriptor) SenderPromise() uint32
- func (s CapDescriptor) SetAttachedFd(v uint8)
- 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) ToPtr() capnp.Ptr
- func (s CapDescriptor) Which() CapDescriptor_Which
- type CapDescriptor_Future
- type CapDescriptor_List
- type CapDescriptor_Which
- type Disembargo
- func (s Disembargo) Context() Disembargo_context
- func (Disembargo) DecodeFromPtr(p capnp.Ptr) Disembargo
- func (s Disembargo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Disembargo) HasTarget() bool
- func (s Disembargo) IsValid() bool
- func (s Disembargo) Message() *capnp.Message
- func (s Disembargo) NewTarget() (MessageTarget, error)
- func (s Disembargo) Segment() *capnp.Segment
- func (s Disembargo) SetTarget(v MessageTarget) error
- func (s Disembargo) String() string
- func (s Disembargo) Target() (MessageTarget, error)
- func (s Disembargo) ToPtr() capnp.Ptr
- type Disembargo_Future
- type Disembargo_List
- type Disembargo_context
- func (s Disembargo_context) IsValid() bool
- func (s Disembargo_context) Message() *capnp.Message
- func (s Disembargo_context) Provide() uint32
- func (s Disembargo_context) ReceiverLoopback() uint32
- func (s Disembargo_context) Segment() *capnp.Segment
- 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_Future
- type Disembargo_context_Which
- type Exception
- func (Exception) DecodeFromPtr(p capnp.Ptr) Exception
- func (s Exception) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Exception) HasReason() bool
- func (s Exception) HasTrace() bool
- func (s Exception) IsValid() bool
- func (e Exception) MarshalError(err error) error
- func (s Exception) Message() *capnp.Message
- 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) Segment() *capnp.Segment
- func (s Exception) SetObsoleteDurability(v uint16)
- func (s Exception) SetObsoleteIsCallersFault(v bool)
- func (s Exception) SetReason(v string) error
- func (s Exception) SetTrace(v string) error
- func (s Exception) SetType(v Exception_Type)
- func (s Exception) String() string
- func (s Exception) ToPtr() capnp.Ptr
- func (s Exception) Trace() (string, error)
- func (s Exception) TraceBytes() ([]byte, error)
- func (s Exception) Type() Exception_Type
- type Exception_Future
- type Exception_List
- type Exception_Type
- type Exception_Type_List
- type Finish
- func (Finish) DecodeFromPtr(p capnp.Ptr) Finish
- func (s Finish) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Finish) IsValid() bool
- func (s Finish) Message() *capnp.Message
- func (s Finish) QuestionId() uint32
- func (s Finish) ReleaseResultCaps() bool
- func (s Finish) Segment() *capnp.Segment
- func (s Finish) SetQuestionId(v uint32)
- func (s Finish) SetReleaseResultCaps(v bool)
- func (s Finish) String() string
- func (s Finish) ToPtr() capnp.Ptr
- type Finish_Future
- type Finish_List
- type Join
- func (Join) DecodeFromPtr(p capnp.Ptr) Join
- func (s Join) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Join) HasKeyPart() bool
- func (s Join) HasTarget() bool
- func (s Join) IsValid() bool
- func (s Join) KeyPart() (capnp.Ptr, error)
- func (s Join) Message() *capnp.Message
- func (s Join) NewTarget() (MessageTarget, error)
- func (s Join) QuestionId() uint32
- func (s Join) Segment() *capnp.Segment
- func (s Join) SetKeyPart(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)
- func (s Join) ToPtr() capnp.Ptr
- type Join_Future
- type Join_List
- 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 (Message) DecodeFromPtr(p capnp.Ptr) Message
- func (s Message) Disembargo() (Disembargo, error)
- func (s Message) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- 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) IsValid() bool
- func (s Message) Join() (Join, error)
- func (s Message) Message() *capnp.Message
- 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.Ptr, error)
- func (s Message) ObsoleteSave() (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) Segment() *capnp.Segment
- 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.Ptr) error
- func (s Message) SetObsoleteSave(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) ToPtr() capnp.Ptr
- func (s Message) Unimplemented() (Message, error)
- func (s Message) Which() Message_Which
- type MessageTarget
- func (MessageTarget) DecodeFromPtr(p capnp.Ptr) MessageTarget
- func (s MessageTarget) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s MessageTarget) HasPromisedAnswer() bool
- func (s MessageTarget) ImportedCap() uint32
- func (s MessageTarget) IsValid() bool
- func (s MessageTarget) Message() *capnp.Message
- func (s MessageTarget) NewPromisedAnswer() (PromisedAnswer, error)
- func (s MessageTarget) PromisedAnswer() (PromisedAnswer, error)
- func (s MessageTarget) Segment() *capnp.Segment
- func (s MessageTarget) SetImportedCap(v uint32)
- func (s MessageTarget) SetPromisedAnswer(v PromisedAnswer) error
- func (s MessageTarget) String() string
- func (s MessageTarget) ToPtr() capnp.Ptr
- func (s MessageTarget) Which() MessageTarget_Which
- type MessageTarget_Future
- type MessageTarget_List
- type MessageTarget_Which
- type Message_Future
- func (p Message_Future) Abort() Exception_Future
- func (p Message_Future) Accept() Accept_Future
- func (p Message_Future) Bootstrap() Bootstrap_Future
- func (p Message_Future) Call() Call_Future
- func (p Message_Future) Disembargo() Disembargo_Future
- func (p Message_Future) Finish() Finish_Future
- func (p Message_Future) Join() Join_Future
- func (p Message_Future) ObsoleteDelete() *capnp.Future
- func (p Message_Future) ObsoleteSave() *capnp.Future
- func (p Message_Future) Provide() Provide_Future
- func (p Message_Future) Release() Release_Future
- func (p Message_Future) Resolve() Resolve_Future
- func (p Message_Future) Return() Return_Future
- func (f Message_Future) Struct() (Message, error)
- func (p Message_Future) Unimplemented() Message_Future
- type Message_List
- type Message_Which
- type Payload
- func (s Payload) CapTable() (CapDescriptor_List, error)
- func (s Payload) Content() (capnp.Ptr, error)
- func (Payload) DecodeFromPtr(p capnp.Ptr) Payload
- func (s Payload) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Payload) HasCapTable() bool
- func (s Payload) HasContent() bool
- func (s Payload) IsValid() bool
- func (s Payload) Message() *capnp.Message
- func (s Payload) NewCapTable(n int32) (CapDescriptor_List, error)
- func (s Payload) Segment() *capnp.Segment
- func (s Payload) SetCapTable(v CapDescriptor_List) error
- func (s Payload) SetContent(v capnp.Ptr) error
- func (s Payload) String() string
- func (s Payload) ToPtr() capnp.Ptr
- type Payload_Future
- type Payload_List
- type PromisedAnswer
- func (PromisedAnswer) DecodeFromPtr(p capnp.Ptr) PromisedAnswer
- func (s PromisedAnswer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s PromisedAnswer) HasTransform() bool
- func (s PromisedAnswer) IsValid() bool
- func (s PromisedAnswer) Message() *capnp.Message
- func (s PromisedAnswer) NewTransform(n int32) (PromisedAnswer_Op_List, error)
- func (s PromisedAnswer) QuestionId() uint32
- func (s PromisedAnswer) Segment() *capnp.Segment
- func (s PromisedAnswer) SetQuestionId(v uint32)
- func (s PromisedAnswer) SetTransform(v PromisedAnswer_Op_List) error
- func (s PromisedAnswer) String() string
- func (s PromisedAnswer) ToPtr() capnp.Ptr
- func (s PromisedAnswer) Transform() (PromisedAnswer_Op_List, error)
- type PromisedAnswer_Future
- type PromisedAnswer_List
- type PromisedAnswer_Op
- func (PromisedAnswer_Op) DecodeFromPtr(p capnp.Ptr) PromisedAnswer_Op
- func (s PromisedAnswer_Op) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s PromisedAnswer_Op) GetPointerField() uint16
- func (s PromisedAnswer_Op) IsValid() bool
- func (s PromisedAnswer_Op) Message() *capnp.Message
- func (s PromisedAnswer_Op) Segment() *capnp.Segment
- func (s PromisedAnswer_Op) SetGetPointerField(v uint16)
- func (s PromisedAnswer_Op) SetNoop()
- func (s PromisedAnswer_Op) String() string
- func (s PromisedAnswer_Op) ToPtr() capnp.Ptr
- func (s PromisedAnswer_Op) Which() PromisedAnswer_Op_Which
- type PromisedAnswer_Op_Future
- type PromisedAnswer_Op_List
- type PromisedAnswer_Op_Which
- type Provide
- func (Provide) DecodeFromPtr(p capnp.Ptr) Provide
- func (s Provide) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Provide) HasRecipient() bool
- func (s Provide) HasTarget() bool
- func (s Provide) IsValid() bool
- func (s Provide) Message() *capnp.Message
- func (s Provide) NewTarget() (MessageTarget, error)
- func (s Provide) QuestionId() uint32
- func (s Provide) Recipient() (capnp.Ptr, error)
- func (s Provide) Segment() *capnp.Segment
- func (s Provide) SetQuestionId(v uint32)
- func (s Provide) SetRecipient(v capnp.Ptr) error
- func (s Provide) SetTarget(v MessageTarget) error
- func (s Provide) String() string
- func (s Provide) Target() (MessageTarget, error)
- func (s Provide) ToPtr() capnp.Ptr
- type Provide_Future
- type Provide_List
- type Release
- func (Release) DecodeFromPtr(p capnp.Ptr) Release
- func (s Release) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Release) Id() uint32
- func (s Release) IsValid() bool
- func (s Release) Message() *capnp.Message
- func (s Release) ReferenceCount() uint32
- func (s Release) Segment() *capnp.Segment
- func (s Release) SetId(v uint32)
- func (s Release) SetReferenceCount(v uint32)
- func (s Release) String() string
- func (s Release) ToPtr() capnp.Ptr
- type Release_Future
- type Release_List
- type Resolve
- func (s Resolve) Cap() (CapDescriptor, error)
- func (Resolve) DecodeFromPtr(p capnp.Ptr) Resolve
- func (s Resolve) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Resolve) Exception() (Exception, error)
- func (s Resolve) HasCap() bool
- func (s Resolve) HasException() bool
- func (s Resolve) IsValid() bool
- func (s Resolve) Message() *capnp.Message
- func (s Resolve) NewCap() (CapDescriptor, error)
- func (s Resolve) NewException() (Exception, error)
- func (s Resolve) PromiseId() uint32
- func (s Resolve) Segment() *capnp.Segment
- 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) ToPtr() capnp.Ptr
- func (s Resolve) Which() Resolve_Which
- type Resolve_Future
- type Resolve_List
- type Resolve_Which
- type Return
- func (s Return) AcceptFromThirdParty() (capnp.Ptr, error)
- func (s Return) AnswerId() uint32
- func (Return) DecodeFromPtr(p capnp.Ptr) Return
- func (s Return) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Return) Exception() (Exception, error)
- func (s Return) HasAcceptFromThirdParty() bool
- func (s Return) HasException() bool
- func (s Return) HasResults() bool
- func (s Return) IsValid() bool
- func (s Return) Message() *capnp.Message
- 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) Segment() *capnp.Segment
- func (s Return) SetAcceptFromThirdParty(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) ToPtr() capnp.Ptr
- func (s Return) Which() Return_Which
- type Return_Future
- type Return_List
- type Return_Which
- type ThirdPartyCapDescriptor
- func (ThirdPartyCapDescriptor) DecodeFromPtr(p capnp.Ptr) ThirdPartyCapDescriptor
- func (s ThirdPartyCapDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ThirdPartyCapDescriptor) HasId() bool
- func (s ThirdPartyCapDescriptor) Id() (capnp.Ptr, error)
- func (s ThirdPartyCapDescriptor) IsValid() bool
- func (s ThirdPartyCapDescriptor) Message() *capnp.Message
- func (s ThirdPartyCapDescriptor) Segment() *capnp.Segment
- func (s ThirdPartyCapDescriptor) SetId(v capnp.Ptr) error
- func (s ThirdPartyCapDescriptor) SetVineId(v uint32)
- func (s ThirdPartyCapDescriptor) String() string
- func (s ThirdPartyCapDescriptor) ToPtr() capnp.Ptr
- func (s ThirdPartyCapDescriptor) VineId() uint32
- type ThirdPartyCapDescriptor_Future
- type ThirdPartyCapDescriptor_List
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 Exception_Type_TypeID = 0xb28c96e23f4cbd58
Exception_Type_TypeID is the unique identifier for the type Exception_Type.
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 ¶
func RegisterSchema ¶
Types ¶
type Accept ¶
func (Accept) HasProvision ¶
func (Accept) QuestionId ¶
func (Accept) SetEmbargo ¶
func (Accept) SetQuestionId ¶
type Accept_Future ¶
Accept_Future is a wrapper for a Accept promised by a client call.
func (Accept_Future) Provision ¶
func (p Accept_Future) Provision() *capnp.Future
func (Accept_Future) Struct ¶
func (f Accept_Future) Struct() (Accept, error)
type Accept_List ¶
type Accept_List = capnp.StructList[Accept]
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.
type Bootstrap ¶
func (Bootstrap) HasDeprecatedObjectId ¶
func (Bootstrap) QuestionId ¶
func (Bootstrap) SetDeprecatedObjectId ¶
func (Bootstrap) SetQuestionId ¶
type Bootstrap_Future ¶
Bootstrap_Future is a wrapper for a Bootstrap promised by a client call.
func (Bootstrap_Future) DeprecatedObjectId ¶
func (p Bootstrap_Future) DeprecatedObjectId() *capnp.Future
func (Bootstrap_Future) Struct ¶
func (f Bootstrap_Future) Struct() (Bootstrap, error)
type Bootstrap_List ¶
type Bootstrap_List = capnp.StructList[Bootstrap]
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.
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_Future ¶
Call_Future is a wrapper for a Call promised by a client call.
func (Call_Future) Params ¶
func (p Call_Future) Params() Payload_Future
func (Call_Future) SendResultsTo ¶
func (p Call_Future) SendResultsTo() Call_sendResultsTo_Future
func (Call_Future) Struct ¶
func (f Call_Future) Struct() (Call, error)
func (Call_Future) Target ¶
func (p Call_Future) Target() MessageTarget_Future
type Call_sendResultsTo ¶
type Call_sendResultsTo Call
func (Call_sendResultsTo) HasThirdParty ¶
func (s Call_sendResultsTo) HasThirdParty() bool
func (Call_sendResultsTo) IsValid ¶
func (s Call_sendResultsTo) IsValid() bool
func (Call_sendResultsTo) Message ¶
func (s Call_sendResultsTo) Message() *capnp.Message
func (Call_sendResultsTo) Segment ¶
func (s Call_sendResultsTo) Segment() *capnp.Segment
func (Call_sendResultsTo) SetCaller ¶
func (s Call_sendResultsTo) SetCaller()
func (Call_sendResultsTo) SetThirdParty ¶
func (s Call_sendResultsTo) SetThirdParty(v capnp.Ptr) error
func (Call_sendResultsTo) SetYourself ¶
func (s Call_sendResultsTo) SetYourself()
func (Call_sendResultsTo) ThirdParty ¶
func (s Call_sendResultsTo) ThirdParty() (capnp.Ptr, error)
func (Call_sendResultsTo) Which ¶
func (s Call_sendResultsTo) Which() Call_sendResultsTo_Which
type Call_sendResultsTo_Future ¶
Call_sendResultsTo_Future is a wrapper for a Call_sendResultsTo promised by a client call.
func (Call_sendResultsTo_Future) Struct ¶
func (f Call_sendResultsTo_Future) Struct() (Call_sendResultsTo, error)
func (Call_sendResultsTo_Future) ThirdParty ¶
func (p Call_sendResultsTo_Future) ThirdParty() *capnp.Future
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) AttachedFd ¶
func (s CapDescriptor) AttachedFd() uint8
func (CapDescriptor) DecodeFromPtr ¶
func (CapDescriptor) DecodeFromPtr(p capnp.Ptr) CapDescriptor
func (CapDescriptor) EncodeAsPtr ¶
func (s CapDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (CapDescriptor) HasReceiverAnswer ¶
func (s CapDescriptor) HasReceiverAnswer() bool
func (CapDescriptor) HasThirdPartyHosted ¶
func (s CapDescriptor) HasThirdPartyHosted() bool
func (CapDescriptor) IsValid ¶
func (s CapDescriptor) IsValid() bool
func (CapDescriptor) Message ¶
func (s CapDescriptor) Message() *capnp.Message
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) Segment ¶
func (s CapDescriptor) Segment() *capnp.Segment
func (CapDescriptor) SenderHosted ¶
func (s CapDescriptor) SenderHosted() uint32
func (CapDescriptor) SenderPromise ¶
func (s CapDescriptor) SenderPromise() uint32
func (CapDescriptor) SetAttachedFd ¶
func (s CapDescriptor) SetAttachedFd(v uint8)
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) ToPtr ¶
func (s CapDescriptor) ToPtr() capnp.Ptr
func (CapDescriptor) Which ¶
func (s CapDescriptor) Which() CapDescriptor_Which
type CapDescriptor_Future ¶
CapDescriptor_Future is a wrapper for a CapDescriptor promised by a client call.
func (CapDescriptor_Future) ReceiverAnswer ¶
func (p CapDescriptor_Future) ReceiverAnswer() PromisedAnswer_Future
func (CapDescriptor_Future) Struct ¶
func (f CapDescriptor_Future) Struct() (CapDescriptor, error)
func (CapDescriptor_Future) ThirdPartyHosted ¶
func (p CapDescriptor_Future) ThirdPartyHosted() ThirdPartyCapDescriptor_Future
type CapDescriptor_List ¶
type CapDescriptor_List = capnp.StructList[CapDescriptor]
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.
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) DecodeFromPtr ¶
func (Disembargo) DecodeFromPtr(p capnp.Ptr) Disembargo
func (Disembargo) EncodeAsPtr ¶
func (s Disembargo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Disembargo) HasTarget ¶
func (s Disembargo) HasTarget() bool
func (Disembargo) IsValid ¶
func (s Disembargo) IsValid() bool
func (Disembargo) Message ¶
func (s Disembargo) Message() *capnp.Message
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) Segment ¶
func (s Disembargo) Segment() *capnp.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)
func (Disembargo) ToPtr ¶
func (s Disembargo) ToPtr() capnp.Ptr
type Disembargo_Future ¶
Disembargo_Future is a wrapper for a Disembargo promised by a client call.
func (Disembargo_Future) Context ¶
func (p Disembargo_Future) Context() Disembargo_context_Future
func (Disembargo_Future) Struct ¶
func (f Disembargo_Future) Struct() (Disembargo, error)
func (Disembargo_Future) Target ¶
func (p Disembargo_Future) Target() MessageTarget_Future
type Disembargo_List ¶
type Disembargo_List = capnp.StructList[Disembargo]
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.
type Disembargo_context ¶
type Disembargo_context Disembargo
func (Disembargo_context) IsValid ¶
func (s Disembargo_context) IsValid() bool
func (Disembargo_context) Message ¶
func (s Disembargo_context) Message() *capnp.Message
func (Disembargo_context) Provide ¶
func (s Disembargo_context) Provide() uint32
func (Disembargo_context) ReceiverLoopback ¶
func (s Disembargo_context) ReceiverLoopback() uint32
func (Disembargo_context) Segment ¶
func (s Disembargo_context) Segment() *capnp.Segment
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_Future ¶
Disembargo_context_Future is a wrapper for a Disembargo_context promised by a client call.
func (Disembargo_context_Future) Struct ¶
func (f Disembargo_context_Future) 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) MarshalError ¶
MarshalError fills in the fields of e according to err. Returns a non-nil error if marshalling fails.
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) TraceBytes ¶
func (Exception) Type ¶
func (s Exception) Type() Exception_Type
type Exception_Future ¶
Exception_Future is a wrapper for a Exception promised by a client call.
func (Exception_Future) Struct ¶
func (f Exception_Future) Struct() (Exception, error)
type Exception_List ¶
type Exception_List = capnp.StructList[Exception]
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.
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 ¶
type Exception_Type_List = capnp.EnumList[Exception_Type]
func NewException_Type_List ¶
func NewException_Type_List(s *capnp.Segment, sz int32) (Exception_Type_List, error)
type Finish ¶
func (Finish) QuestionId ¶
func (Finish) ReleaseResultCaps ¶
func (Finish) SetQuestionId ¶
func (Finish) SetReleaseResultCaps ¶
type Finish_Future ¶
Finish_Future is a wrapper for a Finish promised by a client call.
func (Finish_Future) Struct ¶
func (f Finish_Future) Struct() (Finish, error)
type Finish_List ¶
type Finish_List = capnp.StructList[Finish]
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.
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_Future ¶
Join_Future is a wrapper for a Join promised by a client call.
func (Join_Future) KeyPart ¶
func (p Join_Future) KeyPart() *capnp.Future
func (Join_Future) Struct ¶
func (f Join_Future) Struct() (Join, error)
func (Join_Future) Target ¶
func (p Join_Future) Target() MessageTarget_Future
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) DecodeFromPtr ¶
func (MessageTarget) DecodeFromPtr(p capnp.Ptr) MessageTarget
func (MessageTarget) EncodeAsPtr ¶
func (s MessageTarget) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (MessageTarget) HasPromisedAnswer ¶
func (s MessageTarget) HasPromisedAnswer() bool
func (MessageTarget) ImportedCap ¶
func (s MessageTarget) ImportedCap() uint32
func (MessageTarget) IsValid ¶
func (s MessageTarget) IsValid() bool
func (MessageTarget) Message ¶
func (s MessageTarget) Message() *capnp.Message
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) Segment ¶
func (s MessageTarget) Segment() *capnp.Segment
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) ToPtr ¶
func (s MessageTarget) ToPtr() capnp.Ptr
func (MessageTarget) Which ¶
func (s MessageTarget) Which() MessageTarget_Which
type MessageTarget_Future ¶
MessageTarget_Future is a wrapper for a MessageTarget promised by a client call.
func (MessageTarget_Future) PromisedAnswer ¶
func (p MessageTarget_Future) PromisedAnswer() PromisedAnswer_Future
func (MessageTarget_Future) Struct ¶
func (f MessageTarget_Future) Struct() (MessageTarget, error)
type MessageTarget_List ¶
type MessageTarget_List = capnp.StructList[MessageTarget]
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.
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_Future ¶
Message_Future is a wrapper for a Message promised by a client call.
func (Message_Future) Abort ¶
func (p Message_Future) Abort() Exception_Future
func (Message_Future) Accept ¶
func (p Message_Future) Accept() Accept_Future
func (Message_Future) Bootstrap ¶
func (p Message_Future) Bootstrap() Bootstrap_Future
func (Message_Future) Call ¶
func (p Message_Future) Call() Call_Future
func (Message_Future) Disembargo ¶
func (p Message_Future) Disembargo() Disembargo_Future
func (Message_Future) Finish ¶
func (p Message_Future) Finish() Finish_Future
func (Message_Future) Join ¶
func (p Message_Future) Join() Join_Future
func (Message_Future) ObsoleteDelete ¶
func (p Message_Future) ObsoleteDelete() *capnp.Future
func (Message_Future) ObsoleteSave ¶
func (p Message_Future) ObsoleteSave() *capnp.Future
func (Message_Future) Provide ¶
func (p Message_Future) Provide() Provide_Future
func (Message_Future) Release ¶
func (p Message_Future) Release() Release_Future
func (Message_Future) Resolve ¶
func (p Message_Future) Resolve() Resolve_Future
func (Message_Future) Return ¶
func (p Message_Future) Return() Return_Future
func (Message_Future) Struct ¶
func (f Message_Future) Struct() (Message, error)
func (Message_Future) Unimplemented ¶
func (p Message_Future) Unimplemented() Message_Future
type Message_List ¶
type Message_List = capnp.StructList[Message]
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.
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_Future ¶
Payload_Future is a wrapper for a Payload promised by a client call.
func (Payload_Future) Content ¶
func (p Payload_Future) Content() *capnp.Future
func (Payload_Future) Struct ¶
func (f Payload_Future) Struct() (Payload, error)
type Payload_List ¶
type Payload_List = capnp.StructList[Payload]
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.
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) DecodeFromPtr ¶
func (PromisedAnswer) DecodeFromPtr(p capnp.Ptr) PromisedAnswer
func (PromisedAnswer) EncodeAsPtr ¶
func (s PromisedAnswer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (PromisedAnswer) HasTransform ¶
func (s PromisedAnswer) HasTransform() bool
func (PromisedAnswer) IsValid ¶
func (s PromisedAnswer) IsValid() bool
func (PromisedAnswer) Message ¶
func (s PromisedAnswer) Message() *capnp.Message
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) Segment ¶
func (s PromisedAnswer) Segment() *capnp.Segment
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) ToPtr ¶
func (s PromisedAnswer) ToPtr() capnp.Ptr
func (PromisedAnswer) Transform ¶
func (s PromisedAnswer) Transform() (PromisedAnswer_Op_List, error)
type PromisedAnswer_Future ¶
PromisedAnswer_Future is a wrapper for a PromisedAnswer promised by a client call.
func (PromisedAnswer_Future) Struct ¶
func (f PromisedAnswer_Future) Struct() (PromisedAnswer, error)
type PromisedAnswer_List ¶
type PromisedAnswer_List = capnp.StructList[PromisedAnswer]
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.
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) DecodeFromPtr ¶
func (PromisedAnswer_Op) DecodeFromPtr(p capnp.Ptr) PromisedAnswer_Op
func (PromisedAnswer_Op) EncodeAsPtr ¶
func (s PromisedAnswer_Op) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (PromisedAnswer_Op) GetPointerField ¶
func (s PromisedAnswer_Op) GetPointerField() uint16
func (PromisedAnswer_Op) IsValid ¶
func (s PromisedAnswer_Op) IsValid() bool
func (PromisedAnswer_Op) Message ¶
func (s PromisedAnswer_Op) Message() *capnp.Message
func (PromisedAnswer_Op) Segment ¶
func (s PromisedAnswer_Op) Segment() *capnp.Segment
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) ToPtr ¶
func (s PromisedAnswer_Op) ToPtr() capnp.Ptr
func (PromisedAnswer_Op) Which ¶
func (s PromisedAnswer_Op) Which() PromisedAnswer_Op_Which
type PromisedAnswer_Op_Future ¶
PromisedAnswer_Op_Future is a wrapper for a PromisedAnswer_Op promised by a client call.
func (PromisedAnswer_Op_Future) Struct ¶
func (f PromisedAnswer_Op_Future) Struct() (PromisedAnswer_Op, error)
type PromisedAnswer_Op_List ¶
type PromisedAnswer_Op_List = capnp.StructList[PromisedAnswer_Op]
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.
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 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_Future ¶
Provide_Future is a wrapper for a Provide promised by a client call.
func (Provide_Future) Recipient ¶
func (p Provide_Future) Recipient() *capnp.Future
func (Provide_Future) Struct ¶
func (f Provide_Future) Struct() (Provide, error)
func (Provide_Future) Target ¶
func (p Provide_Future) Target() MessageTarget_Future
type Provide_List ¶
type Provide_List = capnp.StructList[Provide]
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.
type Release_Future ¶
Release_Future is a wrapper for a Release promised by a client call.
func (Release_Future) Struct ¶
func (f Release_Future) Struct() (Release, error)
type Release_List ¶
type Release_List = capnp.StructList[Release]
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.
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_Future ¶
Resolve_Future is a wrapper for a Resolve promised by a client call.
func (Resolve_Future) Cap ¶
func (p Resolve_Future) Cap() CapDescriptor_Future
func (Resolve_Future) Exception ¶
func (p Resolve_Future) Exception() Exception_Future
func (Resolve_Future) Struct ¶
func (f Resolve_Future) Struct() (Resolve, error)
type Resolve_List ¶
type Resolve_List = capnp.StructList[Resolve]
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.
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) 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) 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_Future ¶
Return_Future is a wrapper for a Return promised by a client call.
func (Return_Future) AcceptFromThirdParty ¶
func (p Return_Future) AcceptFromThirdParty() *capnp.Future
func (Return_Future) Exception ¶
func (p Return_Future) Exception() Exception_Future
func (Return_Future) Results ¶
func (p Return_Future) Results() Payload_Future
func (Return_Future) Struct ¶
func (f Return_Future) Struct() (Return, error)
type Return_List ¶
type Return_List = capnp.StructList[Return]
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.
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) DecodeFromPtr ¶
func (ThirdPartyCapDescriptor) DecodeFromPtr(p capnp.Ptr) ThirdPartyCapDescriptor
func (ThirdPartyCapDescriptor) EncodeAsPtr ¶
func (s ThirdPartyCapDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ThirdPartyCapDescriptor) HasId ¶
func (s ThirdPartyCapDescriptor) HasId() bool
func (ThirdPartyCapDescriptor) IsValid ¶
func (s ThirdPartyCapDescriptor) IsValid() bool
func (ThirdPartyCapDescriptor) Message ¶
func (s ThirdPartyCapDescriptor) Message() *capnp.Message
func (ThirdPartyCapDescriptor) Segment ¶
func (s ThirdPartyCapDescriptor) Segment() *capnp.Segment
func (ThirdPartyCapDescriptor) SetVineId ¶
func (s ThirdPartyCapDescriptor) SetVineId(v uint32)
func (ThirdPartyCapDescriptor) String ¶
func (s ThirdPartyCapDescriptor) String() string
func (ThirdPartyCapDescriptor) ToPtr ¶
func (s ThirdPartyCapDescriptor) ToPtr() capnp.Ptr
func (ThirdPartyCapDescriptor) VineId ¶
func (s ThirdPartyCapDescriptor) VineId() uint32
type ThirdPartyCapDescriptor_Future ¶
ThirdPartyCapDescriptor_Future is a wrapper for a ThirdPartyCapDescriptor promised by a client call.
func (ThirdPartyCapDescriptor_Future) Id ¶
func (p ThirdPartyCapDescriptor_Future) Id() *capnp.Future
func (ThirdPartyCapDescriptor_Future) Struct ¶
func (f ThirdPartyCapDescriptor_Future) Struct() (ThirdPartyCapDescriptor, error)
type ThirdPartyCapDescriptor_List ¶
type ThirdPartyCapDescriptor_List = capnp.StructList[ThirdPartyCapDescriptor]
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.