Documentation ¶
Index ¶
- Constants
- func Adder_Methods(methods []server.Method, s Adder_Server) []server.Method
- func CallOrder_Methods(methods []server.Method, s CallOrder_Server) []server.Method
- func Echoer_Methods(methods []server.Method, s Echoer_Server) []server.Method
- func HandleFactory_Methods(methods []server.Method, s HandleFactory_Server) []server.Method
- func Handle_Methods(methods []server.Method, s Handle_Server) []server.Method
- func Hanger_Methods(methods []server.Method, s Hanger_Server) []server.Method
- func PingPong_Methods(methods []server.Method, s PingPong_Server) []server.Method
- type Adder
- type Adder_Server
- type Adder_add
- type Adder_add_Params
- type Adder_add_Params_List
- type Adder_add_Params_Promise
- type Adder_add_Results
- type Adder_add_Results_List
- type Adder_add_Results_Promise
- type CallOrder
- type CallOrder_Server
- type CallOrder_getCallSequence
- type CallOrder_getCallSequence_Params
- func NewCallOrder_getCallSequence_Params(s *capnp.Segment) (CallOrder_getCallSequence_Params, error)
- func NewRootCallOrder_getCallSequence_Params(s *capnp.Segment) (CallOrder_getCallSequence_Params, error)
- func ReadRootCallOrder_getCallSequence_Params(msg *capnp.Message) (CallOrder_getCallSequence_Params, error)
- type CallOrder_getCallSequence_Params_List
- type CallOrder_getCallSequence_Params_Promise
- type CallOrder_getCallSequence_Results
- func NewCallOrder_getCallSequence_Results(s *capnp.Segment) (CallOrder_getCallSequence_Results, error)
- func NewRootCallOrder_getCallSequence_Results(s *capnp.Segment) (CallOrder_getCallSequence_Results, error)
- func ReadRootCallOrder_getCallSequence_Results(msg *capnp.Message) (CallOrder_getCallSequence_Results, error)
- type CallOrder_getCallSequence_Results_List
- type CallOrder_getCallSequence_Results_Promise
- type Echoer
- type Echoer_Server
- type Echoer_echo
- type Echoer_echo_Params
- type Echoer_echo_Params_List
- type Echoer_echo_Params_Promise
- type Echoer_echo_Results
- type Echoer_echo_Results_List
- type Echoer_echo_Results_Promise
- type Handle
- type HandleFactory
- type HandleFactory_Server
- type HandleFactory_newHandle
- type HandleFactory_newHandle_Params
- func NewHandleFactory_newHandle_Params(s *capnp.Segment) (HandleFactory_newHandle_Params, error)
- func NewRootHandleFactory_newHandle_Params(s *capnp.Segment) (HandleFactory_newHandle_Params, error)
- func ReadRootHandleFactory_newHandle_Params(msg *capnp.Message) (HandleFactory_newHandle_Params, error)
- type HandleFactory_newHandle_Params_List
- type HandleFactory_newHandle_Params_Promise
- type HandleFactory_newHandle_Results
- func NewHandleFactory_newHandle_Results(s *capnp.Segment) (HandleFactory_newHandle_Results, error)
- func NewRootHandleFactory_newHandle_Results(s *capnp.Segment) (HandleFactory_newHandle_Results, error)
- func ReadRootHandleFactory_newHandle_Results(msg *capnp.Message) (HandleFactory_newHandle_Results, error)
- type HandleFactory_newHandle_Results_List
- type HandleFactory_newHandle_Results_Promise
- type Handle_Server
- type Hanger
- type Hanger_Server
- type Hanger_hang
- type Hanger_hang_Params
- type Hanger_hang_Params_List
- type Hanger_hang_Params_Promise
- type Hanger_hang_Results
- type Hanger_hang_Results_List
- type Hanger_hang_Results_Promise
- type PingPong
- type PingPong_Server
- type PingPong_echoNum
- type PingPong_echoNum_Params
- type PingPong_echoNum_Params_List
- type PingPong_echoNum_Params_Promise
- type PingPong_echoNum_Results
- type PingPong_echoNum_Results_List
- type PingPong_echoNum_Results_Promise
Constants ¶
const Adder_add_Params_TypeID = 0x9ed99eb5024ed6ef
Adder_add_Params_TypeID is the unique identifier for the type Adder_add_Params.
const Adder_add_Results_TypeID = 0xa74428796527f253
Adder_add_Results_TypeID is the unique identifier for the type Adder_add_Results.
const CallOrder_getCallSequence_Params_TypeID = 0x993e61d6a54c166f
CallOrder_getCallSequence_Params_TypeID is the unique identifier for the type CallOrder_getCallSequence_Params.
const CallOrder_getCallSequence_Results_TypeID = 0x88f809ef7f873e58
CallOrder_getCallSequence_Results_TypeID is the unique identifier for the type CallOrder_getCallSequence_Results.
const Echoer_echo_Params_TypeID = 0xe96a45cad5d1a1d3
Echoer_echo_Params_TypeID is the unique identifier for the type Echoer_echo_Params.
const Echoer_echo_Results_TypeID = 0x8b45b4847bd839c8
Echoer_echo_Results_TypeID is the unique identifier for the type Echoer_echo_Results.
const HandleFactory_newHandle_Params_TypeID = 0x99821793f0a50b5e
HandleFactory_newHandle_Params_TypeID is the unique identifier for the type HandleFactory_newHandle_Params.
const HandleFactory_newHandle_Results_TypeID = 0xd57b5111c59d048c
HandleFactory_newHandle_Results_TypeID is the unique identifier for the type HandleFactory_newHandle_Results.
const Hanger_hang_Params_TypeID = 0xb4512d1c0c85f06f
Hanger_hang_Params_TypeID is the unique identifier for the type Hanger_hang_Params.
const Hanger_hang_Results_TypeID = 0xb9c9455b55ed47b0
Hanger_hang_Results_TypeID is the unique identifier for the type Hanger_hang_Results.
const PingPong_echoNum_Params_TypeID = 0xd797e0a99edf0921
PingPong_echoNum_Params_TypeID is the unique identifier for the type PingPong_echoNum_Params.
const PingPong_echoNum_Results_TypeID = 0x85ddfd96db252600
PingPong_echoNum_Results_TypeID is the unique identifier for the type PingPong_echoNum_Results.
Variables ¶
This section is empty.
Functions ¶
func Adder_Methods ¶
func Adder_Methods(methods []server.Method, s Adder_Server) []server.Method
func CallOrder_Methods ¶
func CallOrder_Methods(methods []server.Method, s CallOrder_Server) []server.Method
func Echoer_Methods ¶
func Echoer_Methods(methods []server.Method, s Echoer_Server) []server.Method
func HandleFactory_Methods ¶
func HandleFactory_Methods(methods []server.Method, s HandleFactory_Server) []server.Method
func Handle_Methods ¶
func Handle_Methods(methods []server.Method, s Handle_Server) []server.Method
func Hanger_Methods ¶
func Hanger_Methods(methods []server.Method, s Hanger_Server) []server.Method
func PingPong_Methods ¶
func PingPong_Methods(methods []server.Method, s PingPong_Server) []server.Method
Types ¶
type Adder ¶
func Adder_ServerToClient ¶
func Adder_ServerToClient(s Adder_Server) Adder
func (Adder) Add ¶
func (c Adder) Add(ctx context.Context, params func(Adder_add_Params) error, opts ...capnp.CallOption) Adder_add_Results_Promise
type Adder_Server ¶
type Adder_add ¶
type Adder_add struct { Ctx context.Context Options capnp.CallOptions Params Adder_add_Params Results Adder_add_Results }
Adder_add holds the arguments for a server call to Adder.add.
type Adder_add_Params ¶
func NewAdder_add_Params ¶
func NewAdder_add_Params(s *capnp.Segment) (Adder_add_Params, error)
func NewRootAdder_add_Params ¶
func NewRootAdder_add_Params(s *capnp.Segment) (Adder_add_Params, error)
func ReadRootAdder_add_Params ¶
func ReadRootAdder_add_Params(msg *capnp.Message) (Adder_add_Params, error)
func (Adder_add_Params) A ¶
func (s Adder_add_Params) A() int32
func (Adder_add_Params) B ¶
func (s Adder_add_Params) B() int32
func (Adder_add_Params) SetA ¶
func (s Adder_add_Params) SetA(v int32)
func (Adder_add_Params) SetB ¶
func (s Adder_add_Params) SetB(v int32)
func (Adder_add_Params) String ¶
func (s Adder_add_Params) String() string
type Adder_add_Params_List ¶
Adder_add_Params_List is a list of Adder_add_Params.
func NewAdder_add_Params_List ¶
func NewAdder_add_Params_List(s *capnp.Segment, sz int32) (Adder_add_Params_List, error)
NewAdder_add_Params creates a new list of Adder_add_Params.
func (Adder_add_Params_List) At ¶
func (s Adder_add_Params_List) At(i int) Adder_add_Params
func (Adder_add_Params_List) Set ¶
func (s Adder_add_Params_List) Set(i int, v Adder_add_Params) error
type Adder_add_Params_Promise ¶
Adder_add_Params_Promise is a wrapper for a Adder_add_Params promised by a client call.
func (Adder_add_Params_Promise) Struct ¶
func (p Adder_add_Params_Promise) Struct() (Adder_add_Params, error)
type Adder_add_Results ¶
func NewAdder_add_Results ¶
func NewAdder_add_Results(s *capnp.Segment) (Adder_add_Results, error)
func NewRootAdder_add_Results ¶
func NewRootAdder_add_Results(s *capnp.Segment) (Adder_add_Results, error)
func ReadRootAdder_add_Results ¶
func ReadRootAdder_add_Results(msg *capnp.Message) (Adder_add_Results, error)
func (Adder_add_Results) Result ¶
func (s Adder_add_Results) Result() int32
func (Adder_add_Results) SetResult ¶
func (s Adder_add_Results) SetResult(v int32)
func (Adder_add_Results) String ¶
func (s Adder_add_Results) String() string
type Adder_add_Results_List ¶
Adder_add_Results_List is a list of Adder_add_Results.
func NewAdder_add_Results_List ¶
func NewAdder_add_Results_List(s *capnp.Segment, sz int32) (Adder_add_Results_List, error)
NewAdder_add_Results creates a new list of Adder_add_Results.
func (Adder_add_Results_List) At ¶
func (s Adder_add_Results_List) At(i int) Adder_add_Results
func (Adder_add_Results_List) Set ¶
func (s Adder_add_Results_List) Set(i int, v Adder_add_Results) error
type Adder_add_Results_Promise ¶
Adder_add_Results_Promise is a wrapper for a Adder_add_Results promised by a client call.
func (Adder_add_Results_Promise) Struct ¶
func (p Adder_add_Results_Promise) Struct() (Adder_add_Results, error)
type CallOrder ¶
func CallOrder_ServerToClient ¶
func CallOrder_ServerToClient(s CallOrder_Server) CallOrder
func (CallOrder) GetCallSequence ¶
func (c CallOrder) GetCallSequence(ctx context.Context, params func(CallOrder_getCallSequence_Params) error, opts ...capnp.CallOption) CallOrder_getCallSequence_Results_Promise
type CallOrder_Server ¶
type CallOrder_Server interface {
GetCallSequence(CallOrder_getCallSequence) error
}
type CallOrder_getCallSequence ¶
type CallOrder_getCallSequence struct { Ctx context.Context Options capnp.CallOptions Params CallOrder_getCallSequence_Params Results CallOrder_getCallSequence_Results }
CallOrder_getCallSequence holds the arguments for a server call to CallOrder.getCallSequence.
type CallOrder_getCallSequence_Params ¶
func NewCallOrder_getCallSequence_Params ¶
func NewCallOrder_getCallSequence_Params(s *capnp.Segment) (CallOrder_getCallSequence_Params, error)
func NewRootCallOrder_getCallSequence_Params ¶
func NewRootCallOrder_getCallSequence_Params(s *capnp.Segment) (CallOrder_getCallSequence_Params, error)
func ReadRootCallOrder_getCallSequence_Params ¶
func ReadRootCallOrder_getCallSequence_Params(msg *capnp.Message) (CallOrder_getCallSequence_Params, error)
func (CallOrder_getCallSequence_Params) Expected ¶
func (s CallOrder_getCallSequence_Params) Expected() uint32
func (CallOrder_getCallSequence_Params) SetExpected ¶
func (s CallOrder_getCallSequence_Params) SetExpected(v uint32)
func (CallOrder_getCallSequence_Params) String ¶
func (s CallOrder_getCallSequence_Params) String() string
type CallOrder_getCallSequence_Params_List ¶
CallOrder_getCallSequence_Params_List is a list of CallOrder_getCallSequence_Params.
func NewCallOrder_getCallSequence_Params_List ¶
func NewCallOrder_getCallSequence_Params_List(s *capnp.Segment, sz int32) (CallOrder_getCallSequence_Params_List, error)
NewCallOrder_getCallSequence_Params creates a new list of CallOrder_getCallSequence_Params.
func (CallOrder_getCallSequence_Params_List) Set ¶
func (s CallOrder_getCallSequence_Params_List) Set(i int, v CallOrder_getCallSequence_Params) error
type CallOrder_getCallSequence_Params_Promise ¶
CallOrder_getCallSequence_Params_Promise is a wrapper for a CallOrder_getCallSequence_Params promised by a client call.
func (CallOrder_getCallSequence_Params_Promise) Struct ¶
func (p CallOrder_getCallSequence_Params_Promise) Struct() (CallOrder_getCallSequence_Params, error)
type CallOrder_getCallSequence_Results ¶
func NewCallOrder_getCallSequence_Results ¶
func NewCallOrder_getCallSequence_Results(s *capnp.Segment) (CallOrder_getCallSequence_Results, error)
func NewRootCallOrder_getCallSequence_Results ¶
func NewRootCallOrder_getCallSequence_Results(s *capnp.Segment) (CallOrder_getCallSequence_Results, error)
func ReadRootCallOrder_getCallSequence_Results ¶
func ReadRootCallOrder_getCallSequence_Results(msg *capnp.Message) (CallOrder_getCallSequence_Results, error)
func (CallOrder_getCallSequence_Results) N ¶
func (s CallOrder_getCallSequence_Results) N() uint32
func (CallOrder_getCallSequence_Results) SetN ¶
func (s CallOrder_getCallSequence_Results) SetN(v uint32)
func (CallOrder_getCallSequence_Results) String ¶
func (s CallOrder_getCallSequence_Results) String() string
type CallOrder_getCallSequence_Results_List ¶
CallOrder_getCallSequence_Results_List is a list of CallOrder_getCallSequence_Results.
func NewCallOrder_getCallSequence_Results_List ¶
func NewCallOrder_getCallSequence_Results_List(s *capnp.Segment, sz int32) (CallOrder_getCallSequence_Results_List, error)
NewCallOrder_getCallSequence_Results creates a new list of CallOrder_getCallSequence_Results.
func (CallOrder_getCallSequence_Results_List) Set ¶
func (s CallOrder_getCallSequence_Results_List) Set(i int, v CallOrder_getCallSequence_Results) error
type CallOrder_getCallSequence_Results_Promise ¶
CallOrder_getCallSequence_Results_Promise is a wrapper for a CallOrder_getCallSequence_Results promised by a client call.
func (CallOrder_getCallSequence_Results_Promise) Struct ¶
func (p CallOrder_getCallSequence_Results_Promise) Struct() (CallOrder_getCallSequence_Results, error)
type Echoer ¶
func Echoer_ServerToClient ¶
func Echoer_ServerToClient(s Echoer_Server) Echoer
func (Echoer) Echo ¶
func (c Echoer) Echo(ctx context.Context, params func(Echoer_echo_Params) error, opts ...capnp.CallOption) Echoer_echo_Results_Promise
func (Echoer) GetCallSequence ¶
func (c Echoer) GetCallSequence(ctx context.Context, params func(CallOrder_getCallSequence_Params) error, opts ...capnp.CallOption) CallOrder_getCallSequence_Results_Promise
type Echoer_Server ¶
type Echoer_Server interface { Echo(Echoer_echo) error GetCallSequence(CallOrder_getCallSequence) error }
type Echoer_echo ¶
type Echoer_echo struct { Ctx context.Context Options capnp.CallOptions Params Echoer_echo_Params Results Echoer_echo_Results }
Echoer_echo holds the arguments for a server call to Echoer.echo.
type Echoer_echo_Params ¶
func NewEchoer_echo_Params ¶
func NewEchoer_echo_Params(s *capnp.Segment) (Echoer_echo_Params, error)
func NewRootEchoer_echo_Params ¶
func NewRootEchoer_echo_Params(s *capnp.Segment) (Echoer_echo_Params, error)
func ReadRootEchoer_echo_Params ¶
func ReadRootEchoer_echo_Params(msg *capnp.Message) (Echoer_echo_Params, error)
func (Echoer_echo_Params) Cap ¶
func (s Echoer_echo_Params) Cap() CallOrder
func (Echoer_echo_Params) HasCap ¶
func (s Echoer_echo_Params) HasCap() bool
func (Echoer_echo_Params) SetCap ¶
func (s Echoer_echo_Params) SetCap(v CallOrder) error
func (Echoer_echo_Params) String ¶
func (s Echoer_echo_Params) String() string
type Echoer_echo_Params_List ¶
Echoer_echo_Params_List is a list of Echoer_echo_Params.
func NewEchoer_echo_Params_List ¶
func NewEchoer_echo_Params_List(s *capnp.Segment, sz int32) (Echoer_echo_Params_List, error)
NewEchoer_echo_Params creates a new list of Echoer_echo_Params.
func (Echoer_echo_Params_List) At ¶
func (s Echoer_echo_Params_List) At(i int) Echoer_echo_Params
func (Echoer_echo_Params_List) Set ¶
func (s Echoer_echo_Params_List) Set(i int, v Echoer_echo_Params) error
type Echoer_echo_Params_Promise ¶
Echoer_echo_Params_Promise is a wrapper for a Echoer_echo_Params promised by a client call.
func (Echoer_echo_Params_Promise) Cap ¶
func (p Echoer_echo_Params_Promise) Cap() CallOrder
func (Echoer_echo_Params_Promise) Struct ¶
func (p Echoer_echo_Params_Promise) Struct() (Echoer_echo_Params, error)
type Echoer_echo_Results ¶
func NewEchoer_echo_Results ¶
func NewEchoer_echo_Results(s *capnp.Segment) (Echoer_echo_Results, error)
func NewRootEchoer_echo_Results ¶
func NewRootEchoer_echo_Results(s *capnp.Segment) (Echoer_echo_Results, error)
func ReadRootEchoer_echo_Results ¶
func ReadRootEchoer_echo_Results(msg *capnp.Message) (Echoer_echo_Results, error)
func (Echoer_echo_Results) Cap ¶
func (s Echoer_echo_Results) Cap() CallOrder
func (Echoer_echo_Results) HasCap ¶
func (s Echoer_echo_Results) HasCap() bool
func (Echoer_echo_Results) SetCap ¶
func (s Echoer_echo_Results) SetCap(v CallOrder) error
func (Echoer_echo_Results) String ¶
func (s Echoer_echo_Results) String() string
type Echoer_echo_Results_List ¶
Echoer_echo_Results_List is a list of Echoer_echo_Results.
func NewEchoer_echo_Results_List ¶
func NewEchoer_echo_Results_List(s *capnp.Segment, sz int32) (Echoer_echo_Results_List, error)
NewEchoer_echo_Results creates a new list of Echoer_echo_Results.
func (Echoer_echo_Results_List) At ¶
func (s Echoer_echo_Results_List) At(i int) Echoer_echo_Results
func (Echoer_echo_Results_List) Set ¶
func (s Echoer_echo_Results_List) Set(i int, v Echoer_echo_Results) error
type Echoer_echo_Results_Promise ¶
Echoer_echo_Results_Promise is a wrapper for a Echoer_echo_Results promised by a client call.
func (Echoer_echo_Results_Promise) Cap ¶
func (p Echoer_echo_Results_Promise) Cap() CallOrder
func (Echoer_echo_Results_Promise) Struct ¶
func (p Echoer_echo_Results_Promise) Struct() (Echoer_echo_Results, error)
type Handle ¶
func Handle_ServerToClient ¶
func Handle_ServerToClient(s Handle_Server) Handle
type HandleFactory ¶
func HandleFactory_ServerToClient ¶
func HandleFactory_ServerToClient(s HandleFactory_Server) HandleFactory
func (HandleFactory) NewHandle ¶
func (c HandleFactory) NewHandle(ctx context.Context, params func(HandleFactory_newHandle_Params) error, opts ...capnp.CallOption) HandleFactory_newHandle_Results_Promise
type HandleFactory_Server ¶
type HandleFactory_Server interface {
NewHandle(HandleFactory_newHandle) error
}
type HandleFactory_newHandle ¶
type HandleFactory_newHandle struct { Ctx context.Context Options capnp.CallOptions Params HandleFactory_newHandle_Params Results HandleFactory_newHandle_Results }
HandleFactory_newHandle holds the arguments for a server call to HandleFactory.newHandle.
type HandleFactory_newHandle_Params ¶
func NewHandleFactory_newHandle_Params ¶
func NewHandleFactory_newHandle_Params(s *capnp.Segment) (HandleFactory_newHandle_Params, error)
func NewRootHandleFactory_newHandle_Params ¶
func NewRootHandleFactory_newHandle_Params(s *capnp.Segment) (HandleFactory_newHandle_Params, error)
func ReadRootHandleFactory_newHandle_Params ¶
func ReadRootHandleFactory_newHandle_Params(msg *capnp.Message) (HandleFactory_newHandle_Params, error)
func (HandleFactory_newHandle_Params) String ¶
func (s HandleFactory_newHandle_Params) String() string
type HandleFactory_newHandle_Params_List ¶
HandleFactory_newHandle_Params_List is a list of HandleFactory_newHandle_Params.
func NewHandleFactory_newHandle_Params_List ¶
func NewHandleFactory_newHandle_Params_List(s *capnp.Segment, sz int32) (HandleFactory_newHandle_Params_List, error)
NewHandleFactory_newHandle_Params creates a new list of HandleFactory_newHandle_Params.
func (HandleFactory_newHandle_Params_List) At ¶
func (s HandleFactory_newHandle_Params_List) At(i int) HandleFactory_newHandle_Params
func (HandleFactory_newHandle_Params_List) Set ¶
func (s HandleFactory_newHandle_Params_List) Set(i int, v HandleFactory_newHandle_Params) error
type HandleFactory_newHandle_Params_Promise ¶
HandleFactory_newHandle_Params_Promise is a wrapper for a HandleFactory_newHandle_Params promised by a client call.
func (HandleFactory_newHandle_Params_Promise) Struct ¶
func (p HandleFactory_newHandle_Params_Promise) Struct() (HandleFactory_newHandle_Params, error)
type HandleFactory_newHandle_Results ¶
func NewHandleFactory_newHandle_Results ¶
func NewHandleFactory_newHandle_Results(s *capnp.Segment) (HandleFactory_newHandle_Results, error)
func NewRootHandleFactory_newHandle_Results ¶
func NewRootHandleFactory_newHandle_Results(s *capnp.Segment) (HandleFactory_newHandle_Results, error)
func ReadRootHandleFactory_newHandle_Results ¶
func ReadRootHandleFactory_newHandle_Results(msg *capnp.Message) (HandleFactory_newHandle_Results, error)
func (HandleFactory_newHandle_Results) Handle ¶
func (s HandleFactory_newHandle_Results) Handle() Handle
func (HandleFactory_newHandle_Results) HasHandle ¶
func (s HandleFactory_newHandle_Results) HasHandle() bool
func (HandleFactory_newHandle_Results) SetHandle ¶
func (s HandleFactory_newHandle_Results) SetHandle(v Handle) error
func (HandleFactory_newHandle_Results) String ¶
func (s HandleFactory_newHandle_Results) String() string
type HandleFactory_newHandle_Results_List ¶
HandleFactory_newHandle_Results_List is a list of HandleFactory_newHandle_Results.
func NewHandleFactory_newHandle_Results_List ¶
func NewHandleFactory_newHandle_Results_List(s *capnp.Segment, sz int32) (HandleFactory_newHandle_Results_List, error)
NewHandleFactory_newHandle_Results creates a new list of HandleFactory_newHandle_Results.
func (HandleFactory_newHandle_Results_List) Set ¶
func (s HandleFactory_newHandle_Results_List) Set(i int, v HandleFactory_newHandle_Results) error
type HandleFactory_newHandle_Results_Promise ¶
HandleFactory_newHandle_Results_Promise is a wrapper for a HandleFactory_newHandle_Results promised by a client call.
func (HandleFactory_newHandle_Results_Promise) Handle ¶
func (p HandleFactory_newHandle_Results_Promise) Handle() Handle
func (HandleFactory_newHandle_Results_Promise) Struct ¶
func (p HandleFactory_newHandle_Results_Promise) Struct() (HandleFactory_newHandle_Results, error)
type Handle_Server ¶
type Handle_Server interface { }
type Hanger ¶
func Hanger_ServerToClient ¶
func Hanger_ServerToClient(s Hanger_Server) Hanger
func (Hanger) Hang ¶
func (c Hanger) Hang(ctx context.Context, params func(Hanger_hang_Params) error, opts ...capnp.CallOption) Hanger_hang_Results_Promise
type Hanger_Server ¶
type Hanger_Server interface {
Hang(Hanger_hang) error
}
type Hanger_hang ¶
type Hanger_hang struct { Ctx context.Context Options capnp.CallOptions Params Hanger_hang_Params Results Hanger_hang_Results }
Hanger_hang holds the arguments for a server call to Hanger.hang.
type Hanger_hang_Params ¶
func NewHanger_hang_Params ¶
func NewHanger_hang_Params(s *capnp.Segment) (Hanger_hang_Params, error)
func NewRootHanger_hang_Params ¶
func NewRootHanger_hang_Params(s *capnp.Segment) (Hanger_hang_Params, error)
func ReadRootHanger_hang_Params ¶
func ReadRootHanger_hang_Params(msg *capnp.Message) (Hanger_hang_Params, error)
func (Hanger_hang_Params) String ¶
func (s Hanger_hang_Params) String() string
type Hanger_hang_Params_List ¶
Hanger_hang_Params_List is a list of Hanger_hang_Params.
func NewHanger_hang_Params_List ¶
func NewHanger_hang_Params_List(s *capnp.Segment, sz int32) (Hanger_hang_Params_List, error)
NewHanger_hang_Params creates a new list of Hanger_hang_Params.
func (Hanger_hang_Params_List) At ¶
func (s Hanger_hang_Params_List) At(i int) Hanger_hang_Params
func (Hanger_hang_Params_List) Set ¶
func (s Hanger_hang_Params_List) Set(i int, v Hanger_hang_Params) error
type Hanger_hang_Params_Promise ¶
Hanger_hang_Params_Promise is a wrapper for a Hanger_hang_Params promised by a client call.
func (Hanger_hang_Params_Promise) Struct ¶
func (p Hanger_hang_Params_Promise) Struct() (Hanger_hang_Params, error)
type Hanger_hang_Results ¶
func NewHanger_hang_Results ¶
func NewHanger_hang_Results(s *capnp.Segment) (Hanger_hang_Results, error)
func NewRootHanger_hang_Results ¶
func NewRootHanger_hang_Results(s *capnp.Segment) (Hanger_hang_Results, error)
func ReadRootHanger_hang_Results ¶
func ReadRootHanger_hang_Results(msg *capnp.Message) (Hanger_hang_Results, error)
func (Hanger_hang_Results) String ¶
func (s Hanger_hang_Results) String() string
type Hanger_hang_Results_List ¶
Hanger_hang_Results_List is a list of Hanger_hang_Results.
func NewHanger_hang_Results_List ¶
func NewHanger_hang_Results_List(s *capnp.Segment, sz int32) (Hanger_hang_Results_List, error)
NewHanger_hang_Results creates a new list of Hanger_hang_Results.
func (Hanger_hang_Results_List) At ¶
func (s Hanger_hang_Results_List) At(i int) Hanger_hang_Results
func (Hanger_hang_Results_List) Set ¶
func (s Hanger_hang_Results_List) Set(i int, v Hanger_hang_Results) error
type Hanger_hang_Results_Promise ¶
Hanger_hang_Results_Promise is a wrapper for a Hanger_hang_Results promised by a client call.
func (Hanger_hang_Results_Promise) Struct ¶
func (p Hanger_hang_Results_Promise) Struct() (Hanger_hang_Results, error)
type PingPong ¶
func PingPong_ServerToClient ¶
func PingPong_ServerToClient(s PingPong_Server) PingPong
func (PingPong) EchoNum ¶
func (c PingPong) EchoNum(ctx context.Context, params func(PingPong_echoNum_Params) error, opts ...capnp.CallOption) PingPong_echoNum_Results_Promise
type PingPong_Server ¶
type PingPong_Server interface {
EchoNum(PingPong_echoNum) error
}
type PingPong_echoNum ¶
type PingPong_echoNum struct { Ctx context.Context Options capnp.CallOptions Params PingPong_echoNum_Params Results PingPong_echoNum_Results }
PingPong_echoNum holds the arguments for a server call to PingPong.echoNum.
type PingPong_echoNum_Params ¶
func NewPingPong_echoNum_Params ¶
func NewPingPong_echoNum_Params(s *capnp.Segment) (PingPong_echoNum_Params, error)
func NewRootPingPong_echoNum_Params ¶
func NewRootPingPong_echoNum_Params(s *capnp.Segment) (PingPong_echoNum_Params, error)
func ReadRootPingPong_echoNum_Params ¶
func ReadRootPingPong_echoNum_Params(msg *capnp.Message) (PingPong_echoNum_Params, error)
func (PingPong_echoNum_Params) N ¶
func (s PingPong_echoNum_Params) N() int32
func (PingPong_echoNum_Params) SetN ¶
func (s PingPong_echoNum_Params) SetN(v int32)
func (PingPong_echoNum_Params) String ¶
func (s PingPong_echoNum_Params) String() string
type PingPong_echoNum_Params_List ¶
PingPong_echoNum_Params_List is a list of PingPong_echoNum_Params.
func NewPingPong_echoNum_Params_List ¶
func NewPingPong_echoNum_Params_List(s *capnp.Segment, sz int32) (PingPong_echoNum_Params_List, error)
NewPingPong_echoNum_Params creates a new list of PingPong_echoNum_Params.
func (PingPong_echoNum_Params_List) At ¶
func (s PingPong_echoNum_Params_List) At(i int) PingPong_echoNum_Params
func (PingPong_echoNum_Params_List) Set ¶
func (s PingPong_echoNum_Params_List) Set(i int, v PingPong_echoNum_Params) error
type PingPong_echoNum_Params_Promise ¶
PingPong_echoNum_Params_Promise is a wrapper for a PingPong_echoNum_Params promised by a client call.
func (PingPong_echoNum_Params_Promise) Struct ¶
func (p PingPong_echoNum_Params_Promise) Struct() (PingPong_echoNum_Params, error)
type PingPong_echoNum_Results ¶
func NewPingPong_echoNum_Results ¶
func NewPingPong_echoNum_Results(s *capnp.Segment) (PingPong_echoNum_Results, error)
func NewRootPingPong_echoNum_Results ¶
func NewRootPingPong_echoNum_Results(s *capnp.Segment) (PingPong_echoNum_Results, error)
func ReadRootPingPong_echoNum_Results ¶
func ReadRootPingPong_echoNum_Results(msg *capnp.Message) (PingPong_echoNum_Results, error)
func (PingPong_echoNum_Results) N ¶
func (s PingPong_echoNum_Results) N() int32
func (PingPong_echoNum_Results) SetN ¶
func (s PingPong_echoNum_Results) SetN(v int32)
func (PingPong_echoNum_Results) String ¶
func (s PingPong_echoNum_Results) String() string
type PingPong_echoNum_Results_List ¶
PingPong_echoNum_Results_List is a list of PingPong_echoNum_Results.
func NewPingPong_echoNum_Results_List ¶
func NewPingPong_echoNum_Results_List(s *capnp.Segment, sz int32) (PingPong_echoNum_Results_List, error)
NewPingPong_echoNum_Results creates a new list of PingPong_echoNum_Results.
func (PingPong_echoNum_Results_List) At ¶
func (s PingPong_echoNum_Results_List) At(i int) PingPong_echoNum_Results
func (PingPong_echoNum_Results_List) Set ¶
func (s PingPong_echoNum_Results_List) Set(i int, v PingPong_echoNum_Results) error
type PingPong_echoNum_Results_Promise ¶
PingPong_echoNum_Results_Promise is a wrapper for a PingPong_echoNum_Results promised by a client call.
func (PingPong_echoNum_Results_Promise) Struct ¶
func (p PingPong_echoNum_Results_Promise) Struct() (PingPong_echoNum_Results, error)