Documentation
¶
Index ¶
- Constants
- func RegisterSchema(reg *schemas.Registry)
- type Gossip
- func (s Gossip) Data() Gossip_data
- func (Gossip) DecodeFromPtr(p capnp.Ptr) Gossip
- func (s Gossip) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Gossip) HasId() bool
- func (s Gossip) Id() ([]byte, error)
- func (s Gossip) IsValid() bool
- func (s Gossip) Message() *capnp.Message
- func (s Gossip) Segment() *capnp.Segment
- func (s Gossip) SetData()
- func (s Gossip) SetId(v []byte) error
- func (s Gossip) SetSignature()
- func (s Gossip) Signature() Gossip_signature
- func (s Gossip) String() string
- func (s Gossip) ToPtr() capnp.Ptr
- func (s Gossip) Which() Gossip_Which
- type Gossip_Future
- type Gossip_List
- type Gossip_Which
- type Gossip_data
- type Gossip_data_Future
- type Gossip_signature
- func (s Gossip_signature) HasSignature() bool
- func (s Gossip_signature) HasSigner() bool
- func (s Gossip_signature) IsValid() bool
- func (s Gossip_signature) Message() *capnp.Message
- func (s Gossip_signature) Segment() *capnp.Segment
- func (s Gossip_signature) SetSignature(v []byte) error
- func (s Gossip_signature) SetSigner(v []byte) error
- func (s Gossip_signature) Signature() ([]byte, error)
- func (s Gossip_signature) Signer() ([]byte, error)
- type Gossip_signature_Future
Constants ¶
View Source
const Gossip_TypeID = 0xf72bafaeff08c61a
Gossip_TypeID is the unique identifier for the type Gossip.
Variables ¶
This section is empty.
Functions ¶
func RegisterSchema ¶
Types ¶
type Gossip ¶
type Gossip capnp.Struct
func NewRootGossip ¶
func ReadRootGossip ¶
func (Gossip) Data ¶
func (s Gossip) Data() Gossip_data
func (Gossip) DecodeFromPtr ¶
func (Gossip) EncodeAsPtr ¶
func (s Gossip) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Gossip) SetSignature ¶
func (s Gossip) SetSignature()
func (Gossip) Signature ¶
func (s Gossip) Signature() Gossip_signature
func (Gossip) Which ¶
func (s Gossip) Which() Gossip_Which
type Gossip_Future ¶
type Gossip_Future struct{ *capnp.Future }
Gossip_Future is a wrapper for a Gossip promised by a client call.
func (Gossip_Future) Data ¶
func (p Gossip_Future) Data() Gossip_data_Future
func (Gossip_Future) Signature ¶
func (p Gossip_Future) Signature() Gossip_signature_Future
func (Gossip_Future) Struct ¶
func (f Gossip_Future) Struct() (Gossip, error)
type Gossip_List ¶
type Gossip_List = capnp.StructList[Gossip]
Gossip_List is a list of Gossip.
func NewGossip_List ¶
func NewGossip_List(s *capnp.Segment, sz int32) (Gossip_List, error)
NewGossip creates a new list of Gossip.
type Gossip_Which ¶
type Gossip_Which uint16
const ( Gossip_Which_signature Gossip_Which = 0 Gossip_Which_data Gossip_Which = 1 )
func (Gossip_Which) String ¶
func (w Gossip_Which) String() string
type Gossip_data ¶
type Gossip_data Gossip
func (Gossip_data) Data ¶
func (s Gossip_data) Data() ([]byte, error)
func (Gossip_data) HasData ¶
func (s Gossip_data) HasData() bool
func (Gossip_data) IsValid ¶
func (s Gossip_data) IsValid() bool
func (Gossip_data) Message ¶
func (s Gossip_data) Message() *capnp.Message
func (Gossip_data) Segment ¶
func (s Gossip_data) Segment() *capnp.Segment
func (Gossip_data) SetData ¶
func (s Gossip_data) SetData(v []byte) error
type Gossip_data_Future ¶
type Gossip_data_Future struct{ *capnp.Future }
Gossip_data_Future is a wrapper for a Gossip_data promised by a client call.
func (Gossip_data_Future) Struct ¶
func (f Gossip_data_Future) Struct() (Gossip_data, error)
type Gossip_signature ¶
type Gossip_signature Gossip
func (Gossip_signature) HasSignature ¶
func (s Gossip_signature) HasSignature() bool
func (Gossip_signature) HasSigner ¶
func (s Gossip_signature) HasSigner() bool
func (Gossip_signature) IsValid ¶
func (s Gossip_signature) IsValid() bool
func (Gossip_signature) Message ¶
func (s Gossip_signature) Message() *capnp.Message
func (Gossip_signature) Segment ¶
func (s Gossip_signature) Segment() *capnp.Segment
func (Gossip_signature) SetSignature ¶
func (s Gossip_signature) SetSignature(v []byte) error
func (Gossip_signature) SetSigner ¶
func (s Gossip_signature) SetSigner(v []byte) error
func (Gossip_signature) Signature ¶
func (s Gossip_signature) Signature() ([]byte, error)
func (Gossip_signature) Signer ¶
func (s Gossip_signature) Signer() ([]byte, error)
type Gossip_signature_Future ¶
type Gossip_signature_Future struct{ *capnp.Future }
Gossip_signature_Future is a wrapper for a Gossip_signature promised by a client call.
func (Gossip_signature_Future) Struct ¶
func (f Gossip_signature_Future) Struct() (Gossip_signature, error)
Click to show internal directories.
Click to hide internal directories.