thing

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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

type TD capnp.Struct

func NewRootTD

func NewRootTD(s *capnp.Segment) (TD, error)

func NewTD

func NewTD(s *capnp.Segment) (TD, error)

func ReadRootTD

func ReadRootTD(msg *capnp.Message) (TD, error)

func (TD) DecodeFromPtr

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

func (TD) EncodeAsPtr

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

func (TD) HasId

func (s TD) HasId() bool

func (TD) HasTdJson

func (s TD) HasTdJson() bool

func (TD) Id

func (s TD) Id() (string, error)

func (TD) IdBytes

func (s TD) IdBytes() ([]byte, error)

func (TD) IsValid

func (s TD) IsValid() bool

func (TD) Message

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

func (TD) Segment

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

func (TD) SetId

func (s TD) SetId(v string) error

func (TD) SetTdJson

func (s TD) SetTdJson(v string) error

func (TD) String

func (s TD) String() string

func (TD) TdJson

func (s TD) TdJson() (string, error)

func (TD) TdJsonBytes

func (s TD) TdJsonBytes() ([]byte, error)

func (TD) ToPtr

func (s TD) ToPtr() capnp.Ptr

type TDList

type TDList capnp.Struct

func NewRootTDList

func NewRootTDList(s *capnp.Segment) (TDList, error)

func NewTDList

func NewTDList(s *capnp.Segment) (TDList, error)

func ReadRootTDList

func ReadRootTDList(msg *capnp.Message) (TDList, error)

func (TDList) DecodeFromPtr

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

func (TDList) EncodeAsPtr

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

func (TDList) HasTds

func (s TDList) HasTds() bool

func (TDList) IsValid

func (s TDList) IsValid() bool

func (TDList) Message

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

func (TDList) NewTds

func (s TDList) NewTds(n int32) (capnp.TextList, error)

NewTds sets the tds field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TDList) Segment

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

func (TDList) SetTds

func (s TDList) SetTds(v capnp.TextList) error

func (TDList) String

func (s TDList) String() string

func (TDList) Tds

func (s TDList) Tds() (capnp.TextList, error)

func (TDList) ToPtr

func (s TDList) ToPtr() capnp.Ptr

type TDList_Future

type TDList_Future struct{ *capnp.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.

type TD_Future

type TD_Future struct{ *capnp.Future }

TD_Future is a wrapper for a TD promised by a client call.

func (TD_Future) Struct

func (p TD_Future) Struct() (TD, error)

type TD_List

type TD_List = capnp.StructList[TD]

TD_List is a list of TD.

func NewTD_List

func NewTD_List(s *capnp.Segment, sz int32) (TD_List, error)

NewTD creates a new list of TD.

Jump to

Keyboard shortcuts

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