cat

package
v0.0.0-...-8d2a667 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cat

type Cat C.Struct

func AutoNewCat

func AutoNewCat(s *C.Segment) Cat

func NewCat

func NewCat(s *C.Segment) Cat

func NewRootCat

func NewRootCat(s *C.Segment) Cat

func ReadRootCat

func ReadRootCat(s *C.Segment) Cat

func (Cat) GetSegment

func (s Cat) GetSegment() *capn.Segment

func (Cat) Id

func (s Cat) Id() int32

func (Cat) MarshalCapLit

func (s Cat) MarshalCapLit() ([]byte, error)

func (Cat) MarshalJSON

func (s Cat) MarshalJSON() ([]byte, error)

func (Cat) Name

func (s Cat) Name() string

func (Cat) NameBytes

func (s Cat) NameBytes() []byte

func (Cat) Partner

func (s Cat) Partner() dog.Dog

func (Cat) ReadCapLit

func (s Cat) ReadCapLit(r io.Reader) error

func (Cat) SetId

func (s Cat) SetId(v int32)

func (Cat) SetName

func (s Cat) SetName(v string)

func (Cat) SetPartner

func (s Cat) SetPartner(v dog.Dog)

func (Cat) WriteCapLit

func (s Cat) WriteCapLit(w io.Writer) error

func (Cat) WriteJSON

func (s Cat) WriteJSON(w io.Writer) error

type Cat_List

type Cat_List C.PointerList

func NewCatList

func NewCatList(s *C.Segment, sz int) Cat_List

func (Cat_List) At

func (s Cat_List) At(i int) Cat

func (Cat_List) Len

func (s Cat_List) Len() int

func (Cat_List) Set

func (s Cat_List) Set(i int, item Cat)

func (Cat_List) ToArray

func (s Cat_List) ToArray() []Cat

Jump to

Keyboard shortcuts

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