Documentation
¶
Index ¶
- Constants
- func RegisterSchema(reg *schemas.Registry)
- type Attr
- func (Attr) DecodeFromPtr(p capnp.Ptr) Attr
- func (s Attr) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Attr) HasKey() bool
- func (s Attr) HasValue() bool
- func (s Attr) IsValid() bool
- func (s Attr) Key() (string, error)
- func (s Attr) KeyBytes() ([]byte, error)
- func (s Attr) Message() *capnp.Message
- func (s Attr) Segment() *capnp.Segment
- func (s Attr) SetKey(v string) error
- func (s Attr) SetValue(v []byte) error
- func (s Attr) String() string
- func (s Attr) ToPtr() capnp.Ptr
- func (s Attr) Value() ([]byte, error)
- type Attr_Future
- type Attr_List
- type Info
- func (s Info) Attrs() (Attr_List, error)
- func (Info) DecodeFromPtr(p capnp.Ptr) Info
- func (s Info) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Info) HasAttrs() bool
- func (s Info) IsValid() bool
- func (s Info) Message() *capnp.Message
- func (s Info) Mode() uint32
- func (s Info) NewAttrs(n int32) (Attr_List, error)
- func (s Info) Segment() *capnp.Segment
- func (s Info) SetAttrs(v Attr_List) error
- func (s Info) SetMode(v uint32)
- func (s Info) String() string
- func (s Info) ToPtr() capnp.Ptr
- type Info_Future
- type Info_List
Constants ¶
View Source
const Attr_TypeID = 0x84c0f2afeea48fc8
Attr_TypeID is the unique identifier for the type Attr.
View Source
const Info_TypeID = 0xe8c4345c559d6872
Info_TypeID is the unique identifier for the type Info.
Variables ¶
This section is empty.
Functions ¶
func RegisterSchema ¶
Types ¶
type Attr_Future ¶
Attr_Future is a wrapper for a Attr promised by a client call.
func (Attr_Future) Struct ¶
func (f Attr_Future) Struct() (Attr, error)
type Info ¶
type Info_Future ¶
Info_Future is a wrapper for a Info promised by a client call.
func (Info_Future) Struct ¶
func (f Info_Future) Struct() (Info, error)
Click to show internal directories.
Click to hide internal directories.