Documentation ¶
Index ¶
- type Dog
- func (s Dog) Age() int8
- func (s Dog) GetSegment() *capn.Segment
- func (s Dog) Id() int32
- func (s Dog) MarshalCapLit() ([]byte, error)
- func (s Dog) MarshalJSON() ([]byte, error)
- func (s Dog) Name() string
- func (s Dog) NameBytes() []byte
- func (s Dog) ReadCapLit(r io.Reader) error
- func (s Dog) SetAge(v int8)
- func (s Dog) SetId(v int32)
- func (s Dog) SetName(v string)
- func (s Dog) SetToys(v DogToy_List)
- func (s Dog) Toys() DogToy_List
- func (s Dog) WriteCapLit(w io.Writer) error
- func (s Dog) WriteJSON(w io.Writer) error
- type DogToy
- func (s DogToy) GetSegment() *capn.Segment
- func (s DogToy) Id() int32
- func (s DogToy) MarshalCapLit() ([]byte, error)
- func (s DogToy) MarshalJSON() ([]byte, error)
- func (s DogToy) Price() int64
- func (s DogToy) ReadCapLit(r io.Reader) error
- func (s DogToy) SetId(v int32)
- func (s DogToy) SetPrice(v int64)
- func (s DogToy) SetToyType(v ToyType)
- func (s DogToy) ToyType() ToyType
- func (s DogToy) WriteCapLit(w io.Writer) error
- func (s DogToy) WriteJSON(w io.Writer) error
- type DogToy_List
- type Dog_List
- type ToyType
- type ToyType_List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dog ¶
func AutoNewDog ¶
func NewRootDog ¶
func ReadRootDog ¶
func (Dog) GetSegment ¶
func (s Dog) GetSegment() *capn.Segment
func (Dog) MarshalCapLit ¶
func (Dog) MarshalJSON ¶
func (Dog) SetToys ¶
func (s Dog) SetToys(v DogToy_List)
func (Dog) Toys ¶
func (s Dog) Toys() DogToy_List
type DogToy ¶
func AutoNewDogToy ¶
func NewRootDogToy ¶
func ReadRootDogToy ¶
func (DogToy) GetSegment ¶
func (s DogToy) GetSegment() *capn.Segment
func (DogToy) MarshalCapLit ¶
func (DogToy) MarshalJSON ¶
func (DogToy) SetToyType ¶
type DogToy_List ¶
type DogToy_List C.PointerList
func NewDogToyList ¶
func NewDogToyList(s *C.Segment, sz int) DogToy_List
func (DogToy_List) At ¶
func (s DogToy_List) At(i int) DogToy
func (DogToy_List) Len ¶
func (s DogToy_List) Len() int
func (DogToy_List) Set ¶
func (s DogToy_List) Set(i int, item DogToy)
func (DogToy_List) ToArray ¶
func (s DogToy_List) ToArray() []DogToy
type Dog_List ¶
type Dog_List C.PointerList
type ToyType ¶
type ToyType uint16
func ToyTypeFromString ¶
func (ToyType) MarshalCapLit ¶
func (ToyType) MarshalJSON ¶
type ToyType_List ¶
type ToyType_List C.PointerList
func NewToyTypeList ¶
func NewToyTypeList(s *C.Segment, sz int) ToyType_List
func (ToyType_List) At ¶
func (s ToyType_List) At(i int) ToyType
func (ToyType_List) Len ¶
func (s ToyType_List) Len() int
func (ToyType_List) Set ¶
func (s ToyType_List) Set(i int, item ToyType)
func (ToyType_List) ToArray ¶
func (s ToyType_List) ToArray() []ToyType
Click to show internal directories.
Click to hide internal directories.