proto

package
v0.0.0-...-acbadc7 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item C.Struct

func AutoNewItem

func AutoNewItem(s *C.Segment) Item

func NewItem

func NewItem(s *C.Segment) Item

func NewRootItem

func NewRootItem(s *C.Segment) Item

func ReadRootItem

func ReadRootItem(s *C.Segment) Item

func (Item) MarshalJSON

func (s Item) MarshalJSON() (bs []byte, err error)

capn.JSON_enabled == false so we stub MarshallJSON().

func (Item) Num

func (s Item) Num() int32

func (Item) SetNum

func (s Item) SetNum(v int32)

func (Item) SetStr

func (s Item) SetStr(v string)

func (Item) Str

func (s Item) Str() string

func (Item) Which

func (s Item) Which() Item_Which

type Item_List

type Item_List C.PointerList

func NewItemList

func NewItemList(s *C.Segment, sz int) Item_List

func (Item_List) At

func (s Item_List) At(i int) Item

func (Item_List) Len

func (s Item_List) Len() int

func (Item_List) Set

func (s Item_List) Set(i int, item Item)

func (Item_List) ToArray

func (s Item_List) ToArray() []Item

type Item_Which

type Item_Which uint16
const (
	ITEM_NUM Item_Which = 0
	ITEM_STR Item_Which = 1
)

type Msg

type Msg C.Struct

func AutoNewMsg

func AutoNewMsg(s *C.Segment) Msg

func NewMsg

func NewMsg(s *C.Segment) Msg

func NewRootMsg

func NewRootMsg(s *C.Segment) Msg

func ReadRootMsg

func ReadRootMsg(s *C.Segment) Msg

func (Msg) Dest

func (s Msg) Dest() string

func (Msg) From

func (s Msg) From() string

func (Msg) MarshalJSON

func (s Msg) MarshalJSON() (bs []byte, err error)

capn.JSON_enabled == false so we stub MarshallJSON().

func (Msg) Method

func (s Msg) Method() string

func (Msg) Params

func (s Msg) Params() Param_List

func (Msg) Pass

func (s Msg) Pass() int32

func (Msg) SetDest

func (s Msg) SetDest(v string)

func (Msg) SetFrom

func (s Msg) SetFrom(v string)

func (Msg) SetMethod

func (s Msg) SetMethod(v string)

func (Msg) SetParams

func (s Msg) SetParams(v Param_List)

func (Msg) SetPass

func (s Msg) SetPass(v int32)

type Msg_List

type Msg_List C.PointerList

func NewMsgList

func NewMsgList(s *C.Segment, sz int) Msg_List

func (Msg_List) At

func (s Msg_List) At(i int) Msg

func (Msg_List) Len

func (s Msg_List) Len() int

func (Msg_List) Set

func (s Msg_List) Set(i int, item Msg)

func (Msg_List) ToArray

func (s Msg_List) ToArray() []Msg

type Pair

type Pair C.Struct

func AutoNewPair

func AutoNewPair(s *C.Segment) Pair

func NewPair

func NewPair(s *C.Segment) Pair

func NewRootPair

func NewRootPair(s *C.Segment) Pair

func ReadRootPair

func ReadRootPair(s *C.Segment) Pair

func (Pair) Key

func (s Pair) Key() Item

func (Pair) MarshalJSON

func (s Pair) MarshalJSON() (bs []byte, err error)

capn.JSON_enabled == false so we stub MarshallJSON().

func (Pair) SetKey

func (s Pair) SetKey(v Item)

func (Pair) Val

func (s Pair) Val() PairVal

type PairVal

type PairVal Pair

func (PairVal) SetSub

func (s PairVal) SetSub(v Pair_List)

func (PairVal) SetValue

func (s PairVal) SetValue(v Item)

func (PairVal) Sub

func (s PairVal) Sub() Pair_List

func (PairVal) Value

func (s PairVal) Value() Item

func (PairVal) Which

func (s PairVal) Which() PairVal_Which

type PairVal_Which

type PairVal_Which uint16
const (
	PAIRVAL_VALUE PairVal_Which = 0
	PAIRVAL_SUB   PairVal_Which = 1
)

type Pair_List

type Pair_List C.PointerList

func NewPairList

func NewPairList(s *C.Segment, sz int) Pair_List

func (Pair_List) At

func (s Pair_List) At(i int) Pair

func (Pair_List) Len

func (s Pair_List) Len() int

func (Pair_List) Set

func (s Pair_List) Set(i int, item Pair)

func (Pair_List) ToArray

func (s Pair_List) ToArray() []Pair

type Param

type Param C.Struct

func AutoNewParam

func AutoNewParam(s *C.Segment) Param

func NewParam

func NewParam(s *C.Segment) Param

func NewRootParam

func NewRootParam(s *C.Segment) Param

func ReadRootParam

func ReadRootParam(s *C.Segment) Param

func (Param) Item

func (s Param) Item() Item

func (Param) MarshalJSON

func (s Param) MarshalJSON() (bs []byte, err error)

capn.JSON_enabled == false so we stub MarshallJSON().

func (Param) Pair

func (s Param) Pair() Pair_List

func (Param) SetItem

func (s Param) SetItem(v Item)

func (Param) SetPair

func (s Param) SetPair(v Pair_List)

func (Param) Which

func (s Param) Which() Param_Which

type Param_List

type Param_List C.PointerList

func NewParamList

func NewParamList(s *C.Segment, sz int) Param_List

func (Param_List) At

func (s Param_List) At(i int) Param

func (Param_List) Len

func (s Param_List) Len() int

func (Param_List) Set

func (s Param_List) Set(i int, item Param)

func (Param_List) ToArray

func (s Param_List) ToArray() []Param

type Param_Which

type Param_Which uint16
const (
	PARAM_ITEM Param_Which = 0
	PARAM_PAIR Param_Which = 1
)

Jump to

Keyboard shortcuts

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