rpctwoparty

package
v1.10.16 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const JoinKeyPart_TypeID = 0x95b29059097fca83

JoinKeyPart_TypeID is the unique identifier for the type JoinKeyPart.

View Source
const JoinResult_TypeID = 0x9d263a3630b7ebee

JoinResult_TypeID is the unique identifier for the type JoinResult.

View Source
const ProvisionId_TypeID = 0xb88d09a9c5f39817

ProvisionId_TypeID is the unique identifier for the type ProvisionId.

View Source
const RecipientId_TypeID = 0x89f389b6fd4082c1

RecipientId_TypeID is the unique identifier for the type RecipientId.

View Source
const Side_TypeID = 0x9fd69ebc87b9719c

Side_TypeID is the unique identifier for the type Side.

View Source
const ThirdPartyCapId_TypeID = 0xb47f4979672cb59d

ThirdPartyCapId_TypeID is the unique identifier for the type ThirdPartyCapId.

View Source
const VatId_TypeID = 0xd20b909fee733a8e

VatId_TypeID is the unique identifier for the type VatId.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type JoinKeyPart

type JoinKeyPart capnp.Struct

func NewJoinKeyPart

func NewJoinKeyPart(s *capnp.Segment) (JoinKeyPart, error)

func NewRootJoinKeyPart

func NewRootJoinKeyPart(s *capnp.Segment) (JoinKeyPart, error)

func ReadRootJoinKeyPart

func ReadRootJoinKeyPart(msg *capnp.Message) (JoinKeyPart, error)

func (JoinKeyPart) DecodeFromPtr

func (JoinKeyPart) DecodeFromPtr(p capnp.Ptr) JoinKeyPart

func (JoinKeyPart) EncodeAsPtr

func (s JoinKeyPart) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (JoinKeyPart) IsValid

func (s JoinKeyPart) IsValid() bool

func (JoinKeyPart) JoinId

func (s JoinKeyPart) JoinId() uint32

func (JoinKeyPart) Message

func (s JoinKeyPart) Message() *capnp.Message

func (JoinKeyPart) PartCount

func (s JoinKeyPart) PartCount() uint16

func (JoinKeyPart) PartNum

func (s JoinKeyPart) PartNum() uint16

func (JoinKeyPart) Segment

func (s JoinKeyPart) Segment() *capnp.Segment

func (JoinKeyPart) SetJoinId

func (s JoinKeyPart) SetJoinId(v uint32)

func (JoinKeyPart) SetPartCount

func (s JoinKeyPart) SetPartCount(v uint16)

func (JoinKeyPart) SetPartNum

func (s JoinKeyPart) SetPartNum(v uint16)

func (JoinKeyPart) String

func (s JoinKeyPart) String() string

func (JoinKeyPart) ToPtr

func (s JoinKeyPart) ToPtr() capnp.Ptr

type JoinKeyPart_Future

type JoinKeyPart_Future struct{ *capnp.Future }

JoinKeyPart_Future is a wrapper for a JoinKeyPart promised by a client call.

func (JoinKeyPart_Future) Struct

func (f JoinKeyPart_Future) Struct() (JoinKeyPart, error)

type JoinKeyPart_List

type JoinKeyPart_List = capnp.StructList[JoinKeyPart]

JoinKeyPart_List is a list of JoinKeyPart.

func NewJoinKeyPart_List

func NewJoinKeyPart_List(s *capnp.Segment, sz int32) (JoinKeyPart_List, error)

NewJoinKeyPart creates a new list of JoinKeyPart.

type JoinResult

type JoinResult capnp.Struct

func NewJoinResult

func NewJoinResult(s *capnp.Segment) (JoinResult, error)

func NewRootJoinResult

func NewRootJoinResult(s *capnp.Segment) (JoinResult, error)

func ReadRootJoinResult

func ReadRootJoinResult(msg *capnp.Message) (JoinResult, error)

func (JoinResult) Cap

func (s JoinResult) Cap() (capnp.Ptr, error)

func (JoinResult) DecodeFromPtr

func (JoinResult) DecodeFromPtr(p capnp.Ptr) JoinResult

func (JoinResult) EncodeAsPtr

func (s JoinResult) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (JoinResult) HasCap

func (s JoinResult) HasCap() bool

func (JoinResult) IsValid

func (s JoinResult) IsValid() bool

func (JoinResult) JoinId

func (s JoinResult) JoinId() uint32

func (JoinResult) Message

func (s JoinResult) Message() *capnp.Message

func (JoinResult) Segment

func (s JoinResult) Segment() *capnp.Segment

func (JoinResult) SetCap

func (s JoinResult) SetCap(v capnp.Ptr) error

func (JoinResult) SetJoinId

func (s JoinResult) SetJoinId(v uint32)

func (JoinResult) SetSucceeded

func (s JoinResult) SetSucceeded(v bool)

func (JoinResult) String

func (s JoinResult) String() string

func (JoinResult) Succeeded

func (s JoinResult) Succeeded() bool

func (JoinResult) ToPtr

func (s JoinResult) ToPtr() capnp.Ptr

type JoinResult_Future

type JoinResult_Future struct{ *capnp.Future }

JoinResult_Future is a wrapper for a JoinResult promised by a client call.

func (JoinResult_Future) Cap

func (p JoinResult_Future) Cap() *capnp.Future

func (JoinResult_Future) Struct

func (f JoinResult_Future) Struct() (JoinResult, error)

type JoinResult_List

type JoinResult_List = capnp.StructList[JoinResult]

JoinResult_List is a list of JoinResult.

func NewJoinResult_List

func NewJoinResult_List(s *capnp.Segment, sz int32) (JoinResult_List, error)

NewJoinResult creates a new list of JoinResult.

type ProvisionId

type ProvisionId capnp.Struct

func NewProvisionId

func NewProvisionId(s *capnp.Segment) (ProvisionId, error)

func NewRootProvisionId

func NewRootProvisionId(s *capnp.Segment) (ProvisionId, error)

func ReadRootProvisionId

func ReadRootProvisionId(msg *capnp.Message) (ProvisionId, error)

func (ProvisionId) DecodeFromPtr

func (ProvisionId) DecodeFromPtr(p capnp.Ptr) ProvisionId

func (ProvisionId) EncodeAsPtr

func (s ProvisionId) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (ProvisionId) IsValid

func (s ProvisionId) IsValid() bool

func (ProvisionId) JoinId

func (s ProvisionId) JoinId() uint32

func (ProvisionId) Message

func (s ProvisionId) Message() *capnp.Message

func (ProvisionId) Segment

func (s ProvisionId) Segment() *capnp.Segment

func (ProvisionId) SetJoinId

func (s ProvisionId) SetJoinId(v uint32)

func (ProvisionId) String

func (s ProvisionId) String() string

func (ProvisionId) ToPtr

func (s ProvisionId) ToPtr() capnp.Ptr

type ProvisionId_Future

type ProvisionId_Future struct{ *capnp.Future }

ProvisionId_Future is a wrapper for a ProvisionId promised by a client call.

func (ProvisionId_Future) Struct

func (f ProvisionId_Future) Struct() (ProvisionId, error)

type ProvisionId_List

type ProvisionId_List = capnp.StructList[ProvisionId]

ProvisionId_List is a list of ProvisionId.

func NewProvisionId_List

func NewProvisionId_List(s *capnp.Segment, sz int32) (ProvisionId_List, error)

NewProvisionId creates a new list of ProvisionId.

type RecipientId

type RecipientId capnp.Struct

func NewRecipientId

func NewRecipientId(s *capnp.Segment) (RecipientId, error)

func NewRootRecipientId

func NewRootRecipientId(s *capnp.Segment) (RecipientId, error)

func ReadRootRecipientId

func ReadRootRecipientId(msg *capnp.Message) (RecipientId, error)

func (RecipientId) DecodeFromPtr

func (RecipientId) DecodeFromPtr(p capnp.Ptr) RecipientId

func (RecipientId) EncodeAsPtr

func (s RecipientId) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (RecipientId) IsValid

func (s RecipientId) IsValid() bool

func (RecipientId) Message

func (s RecipientId) Message() *capnp.Message

func (RecipientId) Segment

func (s RecipientId) Segment() *capnp.Segment

func (RecipientId) String

func (s RecipientId) String() string

func (RecipientId) ToPtr

func (s RecipientId) ToPtr() capnp.Ptr

type RecipientId_Future

type RecipientId_Future struct{ *capnp.Future }

RecipientId_Future is a wrapper for a RecipientId promised by a client call.

func (RecipientId_Future) Struct

func (f RecipientId_Future) Struct() (RecipientId, error)

type RecipientId_List

type RecipientId_List = capnp.StructList[RecipientId]

RecipientId_List is a list of RecipientId.

func NewRecipientId_List

func NewRecipientId_List(s *capnp.Segment, sz int32) (RecipientId_List, error)

NewRecipientId creates a new list of RecipientId.

type Side

type Side uint16
const (
	Side_server Side = 0
	Side_client Side = 1
)

Values of Side.

func SideFromString

func SideFromString(c string) Side

SideFromString returns the enum value with a name, or the zero value if there's no such value.

func (Side) String

func (c Side) String() string

String returns the enum's constant name.

type Side_List

type Side_List = capnp.EnumList[Side]

func NewSide_List

func NewSide_List(s *capnp.Segment, sz int32) (Side_List, error)

type ThirdPartyCapId

type ThirdPartyCapId capnp.Struct

func NewRootThirdPartyCapId

func NewRootThirdPartyCapId(s *capnp.Segment) (ThirdPartyCapId, error)

func NewThirdPartyCapId

func NewThirdPartyCapId(s *capnp.Segment) (ThirdPartyCapId, error)

func ReadRootThirdPartyCapId

func ReadRootThirdPartyCapId(msg *capnp.Message) (ThirdPartyCapId, error)

func (ThirdPartyCapId) DecodeFromPtr

func (ThirdPartyCapId) DecodeFromPtr(p capnp.Ptr) ThirdPartyCapId

func (ThirdPartyCapId) EncodeAsPtr

func (s ThirdPartyCapId) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (ThirdPartyCapId) IsValid

func (s ThirdPartyCapId) IsValid() bool

func (ThirdPartyCapId) Message

func (s ThirdPartyCapId) Message() *capnp.Message

func (ThirdPartyCapId) Segment

func (s ThirdPartyCapId) Segment() *capnp.Segment

func (ThirdPartyCapId) String

func (s ThirdPartyCapId) String() string

func (ThirdPartyCapId) ToPtr

func (s ThirdPartyCapId) ToPtr() capnp.Ptr

type ThirdPartyCapId_Future

type ThirdPartyCapId_Future struct{ *capnp.Future }

ThirdPartyCapId_Future is a wrapper for a ThirdPartyCapId promised by a client call.

func (ThirdPartyCapId_Future) Struct

type ThirdPartyCapId_List

type ThirdPartyCapId_List = capnp.StructList[ThirdPartyCapId]

ThirdPartyCapId_List is a list of ThirdPartyCapId.

func NewThirdPartyCapId_List

func NewThirdPartyCapId_List(s *capnp.Segment, sz int32) (ThirdPartyCapId_List, error)

NewThirdPartyCapId creates a new list of ThirdPartyCapId.

type VatId

type VatId capnp.Struct

func NewRootVatId

func NewRootVatId(s *capnp.Segment) (VatId, error)

func NewVatId

func NewVatId(s *capnp.Segment) (VatId, error)

func ReadRootVatId

func ReadRootVatId(msg *capnp.Message) (VatId, error)

func (VatId) DecodeFromPtr

func (VatId) DecodeFromPtr(p capnp.Ptr) VatId

func (VatId) EncodeAsPtr

func (s VatId) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (VatId) IsValid

func (s VatId) IsValid() bool

func (VatId) Message

func (s VatId) Message() *capnp.Message

func (VatId) Segment

func (s VatId) Segment() *capnp.Segment

func (VatId) SetSide

func (s VatId) SetSide(v Side)

func (VatId) Side

func (s VatId) Side() Side

func (VatId) String

func (s VatId) String() string

func (VatId) ToPtr

func (s VatId) ToPtr() capnp.Ptr

type VatId_Future

type VatId_Future struct{ *capnp.Future }

VatId_Future is a wrapper for a VatId promised by a client call.

func (VatId_Future) Struct

func (f VatId_Future) Struct() (VatId, error)

type VatId_List

type VatId_List = capnp.StructList[VatId]

VatId_List is a list of VatId.

func NewVatId_List

func NewVatId_List(s *capnp.Segment, sz int32) (VatId_List, error)

NewVatId creates a new list of VatId.

Jump to

Keyboard shortcuts

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