rpc

package
v2.13.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Accept_TypeID = 0xd4c9b56290554016

Accept_TypeID is the unique identifier for the type Accept.

View Source
const Bootstrap_TypeID = 0xe94ccf8031176ec4

Bootstrap_TypeID is the unique identifier for the type Bootstrap.

View Source
const Call_TypeID = 0x836a53ce789d4cd4

Call_TypeID is the unique identifier for the type Call.

View Source
const CapDescriptor_TypeID = 0x8523ddc40b86b8b0

CapDescriptor_TypeID is the unique identifier for the type CapDescriptor.

View Source
const Disembargo_TypeID = 0xf964368b0fbd3711

Disembargo_TypeID is the unique identifier for the type Disembargo.

View Source
const Exception_TypeID = 0xd625b7063acf691a

Exception_TypeID is the unique identifier for the type Exception.

View Source
const Finish_TypeID = 0xd37d2eb2c2f80e63

Finish_TypeID is the unique identifier for the type Finish.

View Source
const Join_TypeID = 0xfbe1980490e001af

Join_TypeID is the unique identifier for the type Join.

View Source
const MessageTarget_TypeID = 0x95bc14545813fbc1

MessageTarget_TypeID is the unique identifier for the type MessageTarget.

View Source
const Message_TypeID = 0x91b79f1f808db032

Message_TypeID is the unique identifier for the type Message.

View Source
const Payload_TypeID = 0x9a0e61223d96743b

Payload_TypeID is the unique identifier for the type Payload.

View Source
const PromisedAnswer_Op_TypeID = 0xf316944415569081

PromisedAnswer_Op_TypeID is the unique identifier for the type PromisedAnswer_Op.

View Source
const PromisedAnswer_TypeID = 0xd800b1d6cd6f1ca0

PromisedAnswer_TypeID is the unique identifier for the type PromisedAnswer.

View Source
const Provide_TypeID = 0x9c6a046bfbc1ac5a

Provide_TypeID is the unique identifier for the type Provide.

View Source
const Release_TypeID = 0xad1a6c0d7dd07497

Release_TypeID is the unique identifier for the type Release.

View Source
const Resolve_TypeID = 0xbbc29655fa89086e

Resolve_TypeID is the unique identifier for the type Resolve.

View Source
const Return_TypeID = 0x9e19b28d3db3573a

Return_TypeID is the unique identifier for the type Return.

View Source
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

type Accept struct{ capnp.Struct }

func NewAccept

func NewAccept(s *capnp.Segment) (Accept, error)

func NewRootAccept

func NewRootAccept(s *capnp.Segment) (Accept, error)

func ReadRootAccept

func ReadRootAccept(msg *capnp.Message) (Accept, error)

func (Accept) Embargo

func (s Accept) Embargo() bool

func (Accept) HasProvision

func (s Accept) HasProvision() bool

func (Accept) Provision

func (s Accept) Provision() (capnp.Pointer, error)

func (Accept) ProvisionPtr

func (s Accept) ProvisionPtr() (capnp.Ptr, error)

func (Accept) QuestionId

func (s Accept) QuestionId() uint32

func (Accept) SetEmbargo

func (s Accept) SetEmbargo(v bool)

func (Accept) SetProvision

func (s Accept) SetProvision(v capnp.Pointer) error

func (Accept) SetProvisionPtr

func (s Accept) SetProvisionPtr(v capnp.Ptr) error

func (Accept) SetQuestionId

func (s Accept) SetQuestionId(v uint32)

func (Accept) String

func (s Accept) String() string

type Accept_List

type Accept_List struct{ capnp.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

func (Accept_List) Set

func (s Accept_List) Set(i int, v Accept) error

type Accept_Promise

type Accept_Promise struct{ *capnp.Pipeline }

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

type Bootstrap struct{ capnp.Struct }

func NewBootstrap

func NewBootstrap(s *capnp.Segment) (Bootstrap, error)

func NewRootBootstrap

func NewRootBootstrap(s *capnp.Segment) (Bootstrap, error)

func ReadRootBootstrap

func ReadRootBootstrap(msg *capnp.Message) (Bootstrap, error)

func (Bootstrap) DeprecatedObjectId

func (s Bootstrap) DeprecatedObjectId() (capnp.Pointer, error)

func (Bootstrap) DeprecatedObjectIdPtr

func (s Bootstrap) DeprecatedObjectIdPtr() (capnp.Ptr, error)

func (Bootstrap) HasDeprecatedObjectId

func (s Bootstrap) HasDeprecatedObjectId() bool

func (Bootstrap) QuestionId

func (s Bootstrap) QuestionId() uint32

func (Bootstrap) SetDeprecatedObjectId

func (s Bootstrap) SetDeprecatedObjectId(v capnp.Pointer) error

func (Bootstrap) SetDeprecatedObjectIdPtr

func (s Bootstrap) SetDeprecatedObjectIdPtr(v capnp.Ptr) error

func (Bootstrap) SetQuestionId

func (s Bootstrap) SetQuestionId(v uint32)

func (Bootstrap) String

func (s Bootstrap) String() string

type Bootstrap_List

type Bootstrap_List struct{ capnp.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

func (Bootstrap_List) Set

func (s Bootstrap_List) Set(i int, v Bootstrap) error

type Bootstrap_Promise

type Bootstrap_Promise struct{ *capnp.Pipeline }

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

type Call struct{ capnp.Struct }

func NewCall

func NewCall(s *capnp.Segment) (Call, error)

func NewRootCall

func NewRootCall(s *capnp.Segment) (Call, error)

func ReadRootCall

func ReadRootCall(msg *capnp.Message) (Call, error)

func (Call) AllowThirdPartyTailCall

func (s Call) AllowThirdPartyTailCall() bool

func (Call) HasParams

func (s Call) HasParams() bool

func (Call) HasTarget

func (s Call) HasTarget() bool

func (Call) InterfaceId

func (s Call) InterfaceId() uint64

func (Call) MethodId

func (s Call) MethodId() uint16

func (Call) NewParams

func (s Call) NewParams() (Payload, error)

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) Params

func (s Call) Params() (Payload, error)

func (Call) QuestionId

func (s Call) QuestionId() uint32

func (Call) SendResultsTo

func (s Call) SendResultsTo() Call_sendResultsTo

func (Call) SetAllowThirdPartyTailCall

func (s Call) SetAllowThirdPartyTailCall(v bool)

func (Call) SetInterfaceId

func (s Call) SetInterfaceId(v uint64)

func (Call) SetMethodId

func (s Call) SetMethodId(v uint16)

func (Call) SetParams

func (s Call) SetParams(v Payload) error

func (Call) SetQuestionId

func (s Call) SetQuestionId(v uint32)

func (Call) SetTarget

func (s Call) SetTarget(v MessageTarget) error

func (Call) String

func (s Call) String() string

func (Call) Target

func (s Call) Target() (MessageTarget, error)

type Call_List

type Call_List struct{ capnp.List }

Call_List is a list of Call.

func NewCall_List

func NewCall_List(s *capnp.Segment, sz int32) (Call_List, error)

NewCall creates a new list of Call.

func (Call_List) At

func (s Call_List) At(i int) Call

func (Call_List) Set

func (s Call_List) Set(i int, v Call) error

type Call_Promise

type Call_Promise struct{ *capnp.Pipeline }

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

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

type Call_sendResultsTo_Promise

type Call_sendResultsTo_Promise struct{ *capnp.Pipeline }

Call_sendResultsTo_Promise is a wrapper for a Call_sendResultsTo promised by a client call.

func (Call_sendResultsTo_Promise) Struct

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

type CapDescriptor struct{ capnp.Struct }

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

type CapDescriptor_List

type CapDescriptor_List struct{ capnp.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 (CapDescriptor_List) Set

type CapDescriptor_Promise

type CapDescriptor_Promise struct{ *capnp.Pipeline }

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 (CapDescriptor_Promise) ThirdPartyHosted

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

type Disembargo struct{ capnp.Struct }

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

type Disembargo_List struct{ capnp.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

type Disembargo_Promise struct{ *capnp.Pipeline }

Disembargo_Promise is a wrapper for a Disembargo promised by a client call.

func (Disembargo_Promise) Context

func (Disembargo_Promise) Struct

func (p Disembargo_Promise) Struct() (Disembargo, error)

func (Disembargo_Promise) Target

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

type Disembargo_context_Promise

type Disembargo_context_Promise struct{ *capnp.Pipeline }

Disembargo_context_Promise is a wrapper for a Disembargo_context promised by a client call.

func (Disembargo_context_Promise) Struct

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

type Exception struct{ capnp.Struct }

func NewException

func NewException(s *capnp.Segment) (Exception, error)

func NewRootException

func NewRootException(s *capnp.Segment) (Exception, error)

func ReadRootException

func ReadRootException(msg *capnp.Message) (Exception, error)

func (Exception) HasReason

func (s Exception) HasReason() bool

func (Exception) ObsoleteDurability

func (s Exception) ObsoleteDurability() uint16

func (Exception) ObsoleteIsCallersFault

func (s Exception) ObsoleteIsCallersFault() bool

func (Exception) Reason

func (s Exception) Reason() (string, error)

func (Exception) ReasonBytes

func (s Exception) ReasonBytes() ([]byte, error)

func (Exception) SetObsoleteDurability

func (s Exception) SetObsoleteDurability(v uint16)

func (Exception) SetObsoleteIsCallersFault

func (s Exception) SetObsoleteIsCallersFault(v bool)

func (Exception) SetReason

func (s Exception) SetReason(v string) error

func (Exception) SetType

func (s Exception) SetType(v Exception_Type)

func (Exception) String

func (s Exception) String() string

func (Exception) Type

func (s Exception) Type() Exception_Type

type Exception_List

type Exception_List struct{ capnp.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

func (Exception_List) Set

func (s Exception_List) Set(i int, v Exception) error

type Exception_Promise

type Exception_Promise struct{ *capnp.Pipeline }

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

type Exception_Type_List struct{ capnp.List }

func NewException_Type_List

func NewException_Type_List(s *capnp.Segment, sz int32) (Exception_Type_List, error)

func (Exception_Type_List) At

func (Exception_Type_List) Set

type Finish

type Finish struct{ capnp.Struct }

func NewFinish

func NewFinish(s *capnp.Segment) (Finish, error)

func NewRootFinish

func NewRootFinish(s *capnp.Segment) (Finish, error)

func ReadRootFinish

func ReadRootFinish(msg *capnp.Message) (Finish, error)

func (Finish) QuestionId

func (s Finish) QuestionId() uint32

func (Finish) ReleaseResultCaps

func (s Finish) ReleaseResultCaps() bool

func (Finish) SetQuestionId

func (s Finish) SetQuestionId(v uint32)

func (Finish) SetReleaseResultCaps

func (s Finish) SetReleaseResultCaps(v bool)

func (Finish) String

func (s Finish) String() string

type Finish_List

type Finish_List struct{ capnp.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

func (Finish_List) Set

func (s Finish_List) Set(i int, v Finish) error

type Finish_Promise

type Finish_Promise struct{ *capnp.Pipeline }

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

type Join struct{ capnp.Struct }

func NewJoin

func NewJoin(s *capnp.Segment) (Join, error)

func NewRootJoin

func NewRootJoin(s *capnp.Segment) (Join, error)

func ReadRootJoin

func ReadRootJoin(msg *capnp.Message) (Join, error)

func (Join) HasKeyPart

func (s Join) HasKeyPart() bool

func (Join) HasTarget

func (s Join) HasTarget() bool

func (Join) KeyPart

func (s Join) KeyPart() (capnp.Pointer, error)

func (Join) KeyPartPtr

func (s Join) KeyPartPtr() (capnp.Ptr, error)

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 (s Join) QuestionId() uint32

func (Join) SetKeyPart

func (s Join) SetKeyPart(v capnp.Pointer) error

func (Join) SetKeyPartPtr

func (s Join) SetKeyPartPtr(v capnp.Ptr) error

func (Join) SetQuestionId

func (s Join) SetQuestionId(v uint32)

func (Join) SetTarget

func (s Join) SetTarget(v MessageTarget) error

func (Join) String

func (s Join) String() string

func (Join) Target

func (s Join) Target() (MessageTarget, error)

type Join_List

type Join_List struct{ capnp.List }

Join_List is a list of Join.

func NewJoin_List

func NewJoin_List(s *capnp.Segment, sz int32) (Join_List, error)

NewJoin creates a new list of Join.

func (Join_List) At

func (s Join_List) At(i int) Join

func (Join_List) Set

func (s Join_List) Set(i int, v Join) error

type Join_Promise

type Join_Promise struct{ *capnp.Pipeline }

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

type Message

type Message struct{ capnp.Struct }

func NewMessage

func NewMessage(s *capnp.Segment) (Message, error)

func NewRootMessage

func NewRootMessage(s *capnp.Segment) (Message, error)

func ReadRootMessage

func ReadRootMessage(msg *capnp.Message) (Message, error)

func (Message) Abort

func (s Message) Abort() (Exception, error)

func (Message) Accept

func (s Message) Accept() (Accept, error)

func (Message) Bootstrap

func (s Message) Bootstrap() (Bootstrap, error)

func (Message) Call

func (s Message) Call() (Call, error)

func (Message) Disembargo

func (s Message) Disembargo() (Disembargo, error)

func (Message) Finish

func (s Message) Finish() (Finish, error)

func (Message) HasAbort

func (s Message) HasAbort() bool

func (Message) HasAccept

func (s Message) HasAccept() bool

func (Message) HasBootstrap

func (s Message) HasBootstrap() bool

func (Message) HasCall

func (s Message) HasCall() bool

func (Message) HasDisembargo

func (s Message) HasDisembargo() bool

func (Message) HasFinish

func (s Message) HasFinish() bool

func (Message) HasJoin

func (s Message) HasJoin() bool

func (Message) HasObsoleteDelete

func (s Message) HasObsoleteDelete() bool

func (Message) HasObsoleteSave

func (s Message) HasObsoleteSave() bool

func (Message) HasProvide

func (s Message) HasProvide() bool

func (Message) HasRelease

func (s Message) HasRelease() bool

func (Message) HasResolve

func (s Message) HasResolve() bool

func (Message) HasReturn

func (s Message) HasReturn() bool

func (Message) HasUnimplemented

func (s Message) HasUnimplemented() bool

func (Message) Join

func (s Message) Join() (Join, error)

func (Message) NewAbort

func (s Message) NewAbort() (Exception, error)

NewAbort sets the abort field to a newly allocated Exception struct, preferring placement in s's segment.

func (Message) NewAccept

func (s Message) NewAccept() (Accept, error)

NewAccept sets the accept field to a newly allocated Accept struct, preferring placement in s's segment.

func (Message) NewBootstrap

func (s Message) NewBootstrap() (Bootstrap, error)

NewBootstrap sets the bootstrap field to a newly allocated Bootstrap struct, preferring placement in s's segment.

func (Message) NewCall

func (s Message) NewCall() (Call, error)

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

func (s Message) NewFinish() (Finish, error)

NewFinish sets the finish field to a newly allocated Finish struct, preferring placement in s's segment.

func (Message) NewJoin

func (s Message) NewJoin() (Join, error)

NewJoin sets the join field to a newly allocated Join struct, preferring placement in s's segment.

func (Message) NewProvide

func (s Message) NewProvide() (Provide, error)

NewProvide sets the provide field to a newly allocated Provide struct, preferring placement in s's segment.

func (Message) NewRelease

func (s Message) NewRelease() (Release, error)

NewRelease sets the release field to a newly allocated Release struct, preferring placement in s's segment.

func (Message) NewResolve

func (s Message) NewResolve() (Resolve, error)

NewResolve sets the resolve field to a newly allocated Resolve struct, preferring placement in s's segment.

func (Message) NewReturn

func (s Message) NewReturn() (Return, error)

NewReturn sets the return field to a newly allocated Return struct, preferring placement in s's segment.

func (Message) NewUnimplemented

func (s Message) NewUnimplemented() (Message, error)

NewUnimplemented sets the unimplemented field to a newly allocated Message struct, preferring placement in s's segment.

func (Message) ObsoleteDelete

func (s Message) ObsoleteDelete() (capnp.Pointer, error)

func (Message) ObsoleteDeletePtr

func (s Message) ObsoleteDeletePtr() (capnp.Ptr, error)

func (Message) ObsoleteSave

func (s Message) ObsoleteSave() (capnp.Pointer, error)

func (Message) ObsoleteSavePtr

func (s Message) ObsoleteSavePtr() (capnp.Ptr, error)

func (Message) Provide

func (s Message) Provide() (Provide, error)

func (Message) Release

func (s Message) Release() (Release, error)

func (Message) Resolve

func (s Message) Resolve() (Resolve, error)

func (Message) Return

func (s Message) Return() (Return, error)

func (Message) SetAbort

func (s Message) SetAbort(v Exception) error

func (Message) SetAccept

func (s Message) SetAccept(v Accept) error

func (Message) SetBootstrap

func (s Message) SetBootstrap(v Bootstrap) error

func (Message) SetCall

func (s Message) SetCall(v Call) error

func (Message) SetDisembargo

func (s Message) SetDisembargo(v Disembargo) error

func (Message) SetFinish

func (s Message) SetFinish(v Finish) error

func (Message) SetJoin

func (s Message) SetJoin(v Join) error

func (Message) SetObsoleteDelete

func (s Message) SetObsoleteDelete(v capnp.Pointer) error

func (Message) SetObsoleteDeletePtr

func (s Message) SetObsoleteDeletePtr(v capnp.Ptr) error

func (Message) SetObsoleteSave

func (s Message) SetObsoleteSave(v capnp.Pointer) error

func (Message) SetObsoleteSavePtr

func (s Message) SetObsoleteSavePtr(v capnp.Ptr) error

func (Message) SetProvide

func (s Message) SetProvide(v Provide) error

func (Message) SetRelease

func (s Message) SetRelease(v Release) error

func (Message) SetResolve

func (s Message) SetResolve(v Resolve) error

func (Message) SetReturn

func (s Message) SetReturn(v Return) error

func (Message) SetUnimplemented

func (s Message) SetUnimplemented(v Message) error

func (Message) String

func (s Message) String() string

func (Message) Unimplemented

func (s Message) Unimplemented() (Message, error)

func (Message) Which

func (s Message) Which() Message_Which

type MessageTarget

type MessageTarget struct{ capnp.Struct }

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

type MessageTarget_List

type MessageTarget_List struct{ capnp.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 (MessageTarget_List) Set

type MessageTarget_Promise

type MessageTarget_Promise struct{ *capnp.Pipeline }

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

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

type Message_List struct{ capnp.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

func (Message_List) Set

func (s Message_List) Set(i int, v Message) error

type Message_Promise

type Message_Promise struct{ *capnp.Pipeline }

Message_Promise is a wrapper for a Message promised by a client call.

func (Message_Promise) Abort

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

type Payload struct{ capnp.Struct }

func NewPayload

func NewPayload(s *capnp.Segment) (Payload, error)

func NewRootPayload

func NewRootPayload(s *capnp.Segment) (Payload, error)

func ReadRootPayload

func ReadRootPayload(msg *capnp.Message) (Payload, error)

func (Payload) CapTable

func (s Payload) CapTable() (CapDescriptor_List, error)

func (Payload) Content

func (s Payload) Content() (capnp.Pointer, error)

func (Payload) ContentPtr

func (s Payload) ContentPtr() (capnp.Ptr, error)

func (Payload) HasCapTable

func (s Payload) HasCapTable() bool

func (Payload) HasContent

func (s Payload) HasContent() bool

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

func (Payload) SetContent

func (s Payload) SetContent(v capnp.Pointer) error

func (Payload) SetContentPtr

func (s Payload) SetContentPtr(v capnp.Ptr) error

func (Payload) String

func (s Payload) String() string

type Payload_List

type Payload_List struct{ capnp.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

func (Payload_List) Set

func (s Payload_List) Set(i int, v Payload) error

type Payload_Promise

type Payload_Promise struct{ *capnp.Pipeline }

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

type PromisedAnswer struct{ capnp.Struct }

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

type PromisedAnswer_List struct{ capnp.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 (PromisedAnswer_List) Set

type PromisedAnswer_Op

type PromisedAnswer_Op struct{ capnp.Struct }

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

type PromisedAnswer_Op_List

type PromisedAnswer_Op_List struct{ capnp.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 (PromisedAnswer_Op_List) Set

type PromisedAnswer_Op_Promise

type PromisedAnswer_Op_Promise struct{ *capnp.Pipeline }

PromisedAnswer_Op_Promise is a wrapper for a PromisedAnswer_Op promised by a client call.

func (PromisedAnswer_Op_Promise) Struct

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

type PromisedAnswer_Promise struct{ *capnp.Pipeline }

PromisedAnswer_Promise is a wrapper for a PromisedAnswer promised by a client call.

func (PromisedAnswer_Promise) Struct

type Provide

type Provide struct{ capnp.Struct }

func NewProvide

func NewProvide(s *capnp.Segment) (Provide, error)

func NewRootProvide

func NewRootProvide(s *capnp.Segment) (Provide, error)

func ReadRootProvide

func ReadRootProvide(msg *capnp.Message) (Provide, error)

func (Provide) HasRecipient

func (s Provide) HasRecipient() bool

func (Provide) HasTarget

func (s Provide) HasTarget() bool

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 (s Provide) QuestionId() uint32

func (Provide) Recipient

func (s Provide) Recipient() (capnp.Pointer, error)

func (Provide) RecipientPtr

func (s Provide) RecipientPtr() (capnp.Ptr, error)

func (Provide) SetQuestionId

func (s Provide) SetQuestionId(v uint32)

func (Provide) SetRecipient

func (s Provide) SetRecipient(v capnp.Pointer) error

func (Provide) SetRecipientPtr

func (s Provide) SetRecipientPtr(v capnp.Ptr) error

func (Provide) SetTarget

func (s Provide) SetTarget(v MessageTarget) error

func (Provide) String

func (s Provide) String() string

func (Provide) Target

func (s Provide) Target() (MessageTarget, error)

type Provide_List

type Provide_List struct{ capnp.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

func (Provide_List) Set

func (s Provide_List) Set(i int, v Provide) error

type Provide_Promise

type Provide_Promise struct{ *capnp.Pipeline }

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

type Release

type Release struct{ capnp.Struct }

func NewRelease

func NewRelease(s *capnp.Segment) (Release, error)

func NewRootRelease

func NewRootRelease(s *capnp.Segment) (Release, error)

func ReadRootRelease

func ReadRootRelease(msg *capnp.Message) (Release, error)

func (Release) Id

func (s Release) Id() uint32

func (Release) ReferenceCount

func (s Release) ReferenceCount() uint32

func (Release) SetId

func (s Release) SetId(v uint32)

func (Release) SetReferenceCount

func (s Release) SetReferenceCount(v uint32)

func (Release) String

func (s Release) String() string

type Release_List

type Release_List struct{ capnp.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

func (Release_List) Set

func (s Release_List) Set(i int, v Release) error

type Release_Promise

type Release_Promise struct{ *capnp.Pipeline }

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

type Resolve struct{ capnp.Struct }

func NewResolve

func NewResolve(s *capnp.Segment) (Resolve, error)

func NewRootResolve

func NewRootResolve(s *capnp.Segment) (Resolve, error)

func ReadRootResolve

func ReadRootResolve(msg *capnp.Message) (Resolve, error)

func (Resolve) Cap

func (s Resolve) Cap() (CapDescriptor, error)

func (Resolve) Exception

func (s Resolve) Exception() (Exception, error)

func (Resolve) HasCap

func (s Resolve) HasCap() bool

func (Resolve) HasException

func (s Resolve) HasException() bool

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

func (s Resolve) NewException() (Exception, error)

NewException sets the exception field to a newly allocated Exception struct, preferring placement in s's segment.

func (Resolve) PromiseId

func (s Resolve) PromiseId() uint32

func (Resolve) SetCap

func (s Resolve) SetCap(v CapDescriptor) error

func (Resolve) SetException

func (s Resolve) SetException(v Exception) error

func (Resolve) SetPromiseId

func (s Resolve) SetPromiseId(v uint32)

func (Resolve) String

func (s Resolve) String() string

func (Resolve) Which

func (s Resolve) Which() Resolve_Which

type Resolve_List

type Resolve_List struct{ capnp.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

func (Resolve_List) Set

func (s Resolve_List) Set(i int, v Resolve) error

type Resolve_Promise

type Resolve_Promise struct{ *capnp.Pipeline }

Resolve_Promise is a wrapper for a Resolve promised by a client call.

func (Resolve_Promise) Cap

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

type Return struct{ capnp.Struct }

func NewReturn

func NewReturn(s *capnp.Segment) (Return, error)

func NewRootReturn

func NewRootReturn(s *capnp.Segment) (Return, error)

func ReadRootReturn

func ReadRootReturn(msg *capnp.Message) (Return, error)

func (Return) AcceptFromThirdParty

func (s Return) AcceptFromThirdParty() (capnp.Pointer, error)

func (Return) AcceptFromThirdPartyPtr

func (s Return) AcceptFromThirdPartyPtr() (capnp.Ptr, error)

func (Return) AnswerId

func (s Return) AnswerId() uint32

func (Return) Exception

func (s Return) Exception() (Exception, error)

func (Return) HasAcceptFromThirdParty

func (s Return) HasAcceptFromThirdParty() bool

func (Return) HasException

func (s Return) HasException() bool

func (Return) HasResults

func (s Return) HasResults() bool

func (Return) NewException

func (s Return) NewException() (Exception, error)

NewException sets the exception field to a newly allocated Exception struct, preferring placement in s's segment.

func (Return) NewResults

func (s Return) NewResults() (Payload, error)

NewResults sets the results field to a newly allocated Payload struct, preferring placement in s's segment.

func (Return) ReleaseParamCaps

func (s Return) ReleaseParamCaps() bool

func (Return) Results

func (s Return) Results() (Payload, error)

func (Return) SetAcceptFromThirdParty

func (s Return) SetAcceptFromThirdParty(v capnp.Pointer) error

func (Return) SetAcceptFromThirdPartyPtr

func (s Return) SetAcceptFromThirdPartyPtr(v capnp.Ptr) error

func (Return) SetAnswerId

func (s Return) SetAnswerId(v uint32)

func (Return) SetCanceled

func (s Return) SetCanceled()

func (Return) SetException

func (s Return) SetException(v Exception) error

func (Return) SetReleaseParamCaps

func (s Return) SetReleaseParamCaps(v bool)

func (Return) SetResults

func (s Return) SetResults(v Payload) error

func (Return) SetResultsSentElsewhere

func (s Return) SetResultsSentElsewhere()

func (Return) SetTakeFromOtherQuestion

func (s Return) SetTakeFromOtherQuestion(v uint32)

func (Return) String

func (s Return) String() string

func (Return) TakeFromOtherQuestion

func (s Return) TakeFromOtherQuestion() uint32

func (Return) Which

func (s Return) Which() Return_Which

type Return_List

type Return_List struct{ capnp.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

func (Return_List) Set

func (s Return_List) Set(i int, v Return) error

type Return_Promise

type Return_Promise struct{ *capnp.Pipeline }

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

type ThirdPartyCapDescriptor struct{ capnp.Struct }

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) Id

func (ThirdPartyCapDescriptor) IdPtr

func (s ThirdPartyCapDescriptor) IdPtr() (capnp.Ptr, error)

func (ThirdPartyCapDescriptor) SetId

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

type ThirdPartyCapDescriptor_List struct{ capnp.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 (ThirdPartyCapDescriptor_List) Set

type ThirdPartyCapDescriptor_Promise

type ThirdPartyCapDescriptor_Promise struct{ *capnp.Pipeline }

ThirdPartyCapDescriptor_Promise is a wrapper for a ThirdPartyCapDescriptor promised by a client call.

func (ThirdPartyCapDescriptor_Promise) Id

func (ThirdPartyCapDescriptor_Promise) Struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL