Esempio n. 1
0
func (s Echoer_echo_Results) Cap() CallOrder {
	p, err := s.Struct.Pointer(0)
	if err != nil {

		return CallOrder{}
	}
	c := capnp.ToInterface(p).Client()
	return CallOrder{Client: c}
}
Esempio n. 2
0
func (s HashFactory_newSha1_Results) Hash() Hash {
	p, err := s.Struct.Pointer(0)
	if err != nil {

		return Hash{}
	}
	c := capnp.ToInterface(p).Client()
	return Hash{Client: c}
}
Esempio n. 3
0
func (s HandleFactory_newHandle_Results) Handle() Handle {
	p, err := s.Struct.Pointer(0)
	if err != nil {

		return Handle{}
	}
	c := capnp.ToInterface(p).Client()
	return Handle{Client: c}
}
Esempio n. 4
0
func (s ConnectRequest) Ai() Ai {
	p, err := s.Struct.Pointer(1)
	if err != nil {

		return Ai{}
	}
	c := capnp.ToInterface(p).Client()
	return Ai{Client: c}
}