Esempio n. 1
0
File: main.go Progetto: bmatsuo/rex
// NewDemo wraps the result of rexdemo.NewDemo() as a DemoServer
func NewDemo() *DemoServer {
	return (*DemoServer)(rexdemo.NewDemo())
}
Esempio n. 2
0
File: main.go Progetto: bmatsuo/rex
// NewDemo wraps the result of rexdemo.NewDemo() as a DemoClient
func NewDemo() *DemoClient {
	return (*DemoClient)(rexdemo.NewDemo())
}