Documentation ¶
Index ¶
- Constants
- type Batch
- type Batch_List
- type Batch_Promise
- type ConvoMsg
- type ConvoMsg_List
- type ConvoMsg_Promise
- type EntryConvoMsg
- func (s EntryConvoMsg) Content() ([]byte, error)
- func (s EntryConvoMsg) HasContent() bool
- func (s EntryConvoMsg) HasPubKeyOrAddr() bool
- func (s EntryConvoMsg) HasSender() bool
- func (s EntryConvoMsg) PubKeyOrAddr() ([]byte, error)
- func (s EntryConvoMsg) Sender() (string, error)
- func (s EntryConvoMsg) SenderBytes() ([]byte, error)
- func (s EntryConvoMsg) SetContent(v []byte) error
- func (s EntryConvoMsg) SetPubKeyOrAddr(v []byte) error
- func (s EntryConvoMsg) SetSender(v string) error
- func (s EntryConvoMsg) String() string
- type EntryConvoMsg_List
- type EntryConvoMsg_Promise
Constants ¶
const Batch_TypeID = 0xa7f59e6ee73e90ad
Batch_TypeID is the unique identifier for the type Batch.
const ConvoMsg_TypeID = 0xe4fb25d5577e606e
ConvoMsg_TypeID is the unique identifier for the type ConvoMsg.
const EntryConvoMsg_TypeID = 0x902882978134d105
EntryConvoMsg_TypeID is the unique identifier for the type EntryConvoMsg.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
func (Batch) Msgs ¶
func (s Batch) Msgs() (ConvoMsg_List, error)
func (Batch) NewMsgs ¶
func (s Batch) NewMsgs(n int32) (ConvoMsg_List, error)
NewMsgs sets the msgs field to a newly allocated ConvoMsg_List, preferring placement in s's segment.
func (Batch) SetMsgs ¶
func (s Batch) SetMsgs(v ConvoMsg_List) error
type Batch_List ¶
Batch_List is a list of Batch.
func NewBatch_List ¶
func NewBatch_List(s *capnp.Segment, sz int32) (Batch_List, error)
NewBatch creates a new list of Batch.
func (Batch_List) At ¶
func (s Batch_List) At(i int) Batch
func (Batch_List) String ¶
func (s Batch_List) String() string
type Batch_Promise ¶
Batch_Promise is a wrapper for a Batch promised by a client call.
func (Batch_Promise) Struct ¶
func (p Batch_Promise) Struct() (Batch, error)
type ConvoMsg ¶
func (ConvoMsg) HasContent ¶
func (ConvoMsg) HasPubKeyOrAddr ¶
func (ConvoMsg) PubKeyOrAddr ¶
func (ConvoMsg) SetContent ¶
func (ConvoMsg) SetPubKeyOrAddr ¶
type ConvoMsg_List ¶
ConvoMsg_List is a list of ConvoMsg.
func NewConvoMsg_List ¶
func NewConvoMsg_List(s *capnp.Segment, sz int32) (ConvoMsg_List, error)
NewConvoMsg creates a new list of ConvoMsg.
func (ConvoMsg_List) At ¶
func (s ConvoMsg_List) At(i int) ConvoMsg
func (ConvoMsg_List) String ¶
func (s ConvoMsg_List) String() string
type ConvoMsg_Promise ¶
ConvoMsg_Promise is a wrapper for a ConvoMsg promised by a client call.
func (ConvoMsg_Promise) Struct ¶
func (p ConvoMsg_Promise) Struct() (ConvoMsg, error)
type EntryConvoMsg ¶
func NewEntryConvoMsg ¶
func NewEntryConvoMsg(s *capnp.Segment) (EntryConvoMsg, error)
func NewRootEntryConvoMsg ¶
func NewRootEntryConvoMsg(s *capnp.Segment) (EntryConvoMsg, error)
func ReadRootEntryConvoMsg ¶
func ReadRootEntryConvoMsg(msg *capnp.Message) (EntryConvoMsg, error)
func (EntryConvoMsg) Content ¶
func (s EntryConvoMsg) Content() ([]byte, error)
func (EntryConvoMsg) HasContent ¶
func (s EntryConvoMsg) HasContent() bool
func (EntryConvoMsg) HasPubKeyOrAddr ¶
func (s EntryConvoMsg) HasPubKeyOrAddr() bool
func (EntryConvoMsg) HasSender ¶
func (s EntryConvoMsg) HasSender() bool
func (EntryConvoMsg) PubKeyOrAddr ¶
func (s EntryConvoMsg) PubKeyOrAddr() ([]byte, error)
func (EntryConvoMsg) Sender ¶
func (s EntryConvoMsg) Sender() (string, error)
func (EntryConvoMsg) SenderBytes ¶
func (s EntryConvoMsg) SenderBytes() ([]byte, error)
func (EntryConvoMsg) SetContent ¶
func (s EntryConvoMsg) SetContent(v []byte) error
func (EntryConvoMsg) SetPubKeyOrAddr ¶
func (s EntryConvoMsg) SetPubKeyOrAddr(v []byte) error
func (EntryConvoMsg) SetSender ¶
func (s EntryConvoMsg) SetSender(v string) error
func (EntryConvoMsg) String ¶
func (s EntryConvoMsg) String() string
type EntryConvoMsg_List ¶
EntryConvoMsg_List is a list of EntryConvoMsg.
func NewEntryConvoMsg_List ¶
func NewEntryConvoMsg_List(s *capnp.Segment, sz int32) (EntryConvoMsg_List, error)
NewEntryConvoMsg creates a new list of EntryConvoMsg.
func (EntryConvoMsg_List) At ¶
func (s EntryConvoMsg_List) At(i int) EntryConvoMsg
func (EntryConvoMsg_List) Set ¶
func (s EntryConvoMsg_List) Set(i int, v EntryConvoMsg) error
func (EntryConvoMsg_List) String ¶
func (s EntryConvoMsg_List) String() string
type EntryConvoMsg_Promise ¶
EntryConvoMsg_Promise is a wrapper for a EntryConvoMsg promised by a client call.
func (EntryConvoMsg_Promise) Struct ¶
func (p EntryConvoMsg_Promise) Struct() (EntryConvoMsg, error)