Documentation ¶
Index ¶
- Constants
- func RegisterSchema(reg *schemas.Registry)
- type Gossip
- func (Gossip) DecodeFromPtr(p capnp.Ptr) Gossip
- func (s Gossip) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Gossip) Envelope() ([]byte, error)
- func (s Gossip) HasEnvelope() bool
- func (s Gossip) Hop() uint64
- func (s Gossip) IsValid() bool
- func (s Gossip) Message() *capnp.Message
- func (s Gossip) Segment() *capnp.Segment
- func (s Gossip) SetEnvelope(v []byte) error
- func (s Gossip) SetHop(v uint64)
- func (s Gossip) String() string
- func (s Gossip) ToPtr() capnp.Ptr
- type Gossip_Future
- type Gossip_List
Constants ¶
View Source
const Gossip_TypeID = 0xfcef4b0e93332397
Gossip_TypeID is the unique identifier for the type Gossip.
Variables ¶
This section is empty.
Functions ¶
func RegisterSchema ¶
Types ¶
type Gossip_Future ¶
Gossip_Future is a wrapper for a Gossip promised by a client call.
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.
Click to show internal directories.
Click to hide internal directories.