Documentation ¶
Index ¶
- Constants
- type TD
- func (TD) DecodeFromPtr(p capnp.Ptr) TD
- func (s TD) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s TD) HasId() bool
- func (s TD) HasTdJson() bool
- func (s TD) Id() (string, error)
- func (s TD) IdBytes() ([]byte, error)
- func (s TD) IsValid() bool
- func (s TD) Message() *capnp.Message
- func (s TD) Segment() *capnp.Segment
- func (s TD) SetId(v string) error
- func (s TD) SetTdJson(v string) error
- func (s TD) String() string
- func (s TD) TdJson() (string, error)
- func (s TD) TdJsonBytes() ([]byte, error)
- func (s TD) ToPtr() capnp.Ptr
- type TDList
- func (TDList) DecodeFromPtr(p capnp.Ptr) TDList
- func (s TDList) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s TDList) HasTds() bool
- func (s TDList) IsValid() bool
- func (s TDList) Message() *capnp.Message
- func (s TDList) NewTds(n int32) (capnp.TextList, error)
- func (s TDList) Segment() *capnp.Segment
- func (s TDList) SetTds(v capnp.TextList) error
- func (s TDList) String() string
- func (s TDList) Tds() (capnp.TextList, error)
- func (s TDList) ToPtr() capnp.Ptr
- type TDList_Future
- type TDList_List
- type TD_Future
- type TD_List
Constants ¶
View Source
const TDList_TypeID = 0xaa7e714db5bf7f48
TDList_TypeID is the unique identifier for the type TDList.
View Source
const TD_TypeID = 0x9a428fdf25da5bb7
TD_TypeID is the unique identifier for the type TD.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TD ¶
func (TD) TdJsonBytes ¶
type TDList ¶
type TDList_Future ¶
TDList_Future is a wrapper for a TDList promised by a client call.
func (TDList_Future) Struct ¶
func (p TDList_Future) Struct() (TDList, error)
type TDList_List ¶
type TDList_List = capnp.StructList[TDList]
TDList_List is a list of TDList.
func NewTDList_List ¶
func NewTDList_List(s *capnp.Segment, sz int32) (TDList_List, error)
NewTDList creates a new list of TDList.
Click to show internal directories.
Click to hide internal directories.